4 ms·
Which files get the most commits? Which sections of each files get more than usual commits? eg which functions? Who wrote this particular function first? who
by sfgweilr4f 5y ago
Which files get the most commits?
Which sections of each files get more than usual commits? eg which functions?
Who wrote this particular function first? who subsequently?
How many of those include expletives? Curious minds need to know.
If I want to answer these earth shattering questions, could I just grab the entire git repo and go from there? is it that simple? is it text exportable without too much "other" scary?
- mobilemidget 5y agoAfter you calculated all that and let us know :) https://gource.io https://gource.io To create visuals of the gitrepo history/commits.
- sfgweilr4f 5y agowhat a fascinating tool.
- bogota 5y agoYou could. But I would recommend downloading it to a RAM disk to make generating that a bit faster. The which function sees the most use would likely take a bit of work to figure out.
- 19h 5y agoI’d find a list of files that have the least changes more interesting (excluding text files et al.). And then check if the lack of activity is related to the stability of the code, lack of use or its complexity.
- sega_sai 5y agoHere is the top 20 files by the number of commits 12846 MAINTAINERS 4167 drivers/gpu/drm/i915/intel_display.c 3330 drivers/gpu/drm/i915/i915_drv.h 2360 drivers/gpu/drm/i915/i915_gem.c 2328 arch/arm/Kconfig 2118 arch/x86/kvm/x86.c 2079 sound/pci/hda/patch_realtek.c 2019 Makefile 2001 fs/btrfs/inode.c 1927 include/linux/sched.h 1903 net/core/dev.c 1888 drivers/gpu/drm/i915/i915_reg.h 1824 arch/arm/boot/dts/Makefile 1801 drivers/gpu/drm/i915/intel_pm.c 1781 include/linux/fs.h 1763 arch/x86/Kconfig 1737 mm/page_alloc.c 1643 kernel/sched.c 1628 fs/btrfs/extent-tree.c It's quite interesting how present intel gpus are in the list, which probably tells something about the code on them...
- sdesol 5y agoHere is what I got with additional information commits | authors | first_commit | last_commit | path ---------+---------+--------------------------+------------------------+-------------------------------------- 12846 | 2438 | 16 years 16 days | 00:00:00 | MAINTAINERS 4167 | 205 | 12 years 4 mons 4 days | 1 year 10 mons 13 days | drivers/gpu/drm/i915/intel_display.c 3330 | 205 | 12 years 9 mons 19 days | 2 days | drivers/gpu/drm/i915/i915_drv.h 2360 | 146 | 12 years 6 mons 16 days | 1 mon 9 days | drivers/gpu/drm/i915/i915_gem.c 2328 | 429 | 16 years 16 days | 2 days | arch/arm/Kconfig 2118 | 315 | 13 years 3 mons 3 days | 1 day | arch/x86/kvm/x86.c 2079 | 216 | 16 years 16 days | 4 days | sound/pci/hda/patch_realtek.c 2019 | 300 | 16 years 16 days | 1 day | Makefile 2001 | 186 | 13 years 10 mons 20 days | 5 days | fs/btrfs/inode.c 1927 | 367 | 16 years 16 days | 2 days | include/linux/sched.h 1903 | 388 | 16 years 16 days | 6 days | net/core/dev.c 1888 | 177 | 12 years 6 mons 16 days | 1 mon 9 days | drivers/gpu/drm/i915/i915_reg.h 1824 | 494 | 8 years 7 mons 18 days | 6 days | arch/arm/boot/dts/Makefile 1801 | 101 | 9 years 14 days | 4 days | drivers/gpu/drm/i915/intel_pm.c 1781 | 306 | 16 years 16 days | 2 days | include/linux/fs.h 1763 | 392 | 13 years 5 mons 20 days | 2 days | arch/x86/Kconfig 1737 | 391 | 16 years 16 days | 2 days | mm/page_alloc.c 1643 | 258 | 16 years 16 days | 9 years 3 mons 27 days | kernel/sched.c 1628 | 121 | 12 years 4 mons 4 days | 1 year 8 mons 12 days | drivers/gpu/drm/i915/intel_drv.h 1628 | 118 | 14 years 2 mons 4 days | 13 days | fs/btrfs/extent-tree.c Note: Authors may and probably is incorrect since a single user could have committed with different emails.
- NullPrefix 5y ago>which probably tells something about the code on them... Million ways to interpret this. Lots of commits could mean that it was constantly improved or there was a constant stream of bugs. A single commit could mean that it was a perfect masterpiece on first try or it was simply forgotten.
- deleted 5y ago[deleted]