というわけで本家gitのリポジトリのコミットメッセージの単語を数えてきました
#!/usr/bin/perl # 適当に検索して取ってきたソース、誰かに感謝 while ( <> ) { @words = split(" "); $wc{@words[1]} += 1; # [0]=commit id [1]=first verb } foreach $key (keys %wc) { print "$wc{$key} $key\n"; }
git --oneline | perl ↑ | sort -n -r | head -n 100
……ごめんなさい実際にはエディタの機能を使いました。
5698 Merge 962 git-gui: 892 [PATCH] 779 Fix 761 Add 721 gitweb: 518 Documentation: 495 git-svn: 462 Make 381 gitk: 335 Update 261 git 230 Use 222 Teach 197 Makefile: 193 GIT 185 Remove 165 i18n: 145 Document 137 git-p4: 134 Allow 127 add 126 merge-recursive: 125 Git 109 send-email: 104 tests: 102 fix 100 user-manual: 96 rebase 95 Revert 95 grep: 91 pack-objects: 91 Do 89 diff: 88 Don't 87 vcs-svn: 87 make 86 diff 84 Move 83 completion: 81 git.el: 79 bash: 78 fast-import: 76 cvsserver: 75 Sync 73 bisect: 72 rebase: 67 cvsimport: 66 format-patch: 66 Avoid 63 revert: 59 git-apply: 57 Start 57 git-am: 57 filter-branch: 57 clone: 56 Improve 55 Support 55 commit: 55 bash 52 Windows: 52 checkout: 52 Added 50 Rename 50 apply: 48 test-lib: 46 Introduce 46 Change 44 git-fetch: 44 git-commit: 44 config: 43 merge: 43 combine-diff: 42 Git.pm: 41 git-send-email: 41 Correct 40 Show 40 http-push: 40 diff.c: 40 autoconf: 39 rev-list: 39 daemon: 39 Clean 37 git-clone: 37 archive: 36 push: 36 blame: 35 use 35 Replace 35 remote: 35 Prepare 35 fetch: 34 Test 34 mergetool: 34 docs: 33 t1510: 33 Refactor 33 l10n: 32 remove 32 parse-options:
……ルール守られてねえ!