extra: git-multi-shortlog: Print diff stat summary as well for each repo
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
e6d7194c19
commit
ea430c0cc1
|
@ -2,7 +2,7 @@ generate-shortlog() {
|
|||
local hash
|
||||
hash="$(git log --format=%h -"$1" | tail -n1)"
|
||||
git shortlog -w72,2,4 -"$1"
|
||||
git diff --stat=72 "$hash"^ HEAD
|
||||
git diff --stat=72 --summary "$hash"^ HEAD
|
||||
}
|
||||
|
||||
if [ $# -eq 0 ] || [ "${1-x}" == -h ] || [ "${1-x}" == --help ]; then
|
||||
|
|
Loading…
Reference in a new issue