commit 697f86808eec4a96f6b5b4fa702588e3b7c2aafc parent e76680f2b381f20defb34de091456a74c0f88500 Author: William Casarin <jb55@jb55.com> Date: Sat, 10 Jul 2021 09:22:46 -0700 git-find-contacts Signed-off-by: William Casarin <jb55@jb55.com> Diffstat:
A | bin/git-find-contacts | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/bin/git-find-contacts b/bin/git-find-contacts @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +if [ -z $1 ]; then + printf "usage: git-find-contacts <commit-range>\n" + exit 1 +fi + +( +for hash in $(git log --format=%H "$@") +do + git-contacts ${hash}^- +done +) | sort | uniq -c | sort -nr