Convert some "apply --summary" users to "diff --summary".
Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
4bbd261bbd
commit
9d76812b42
@ -274,7 +274,7 @@ print "\n---\n\n";
|
||||
close FH or die "close $commsg pipe";
|
||||
' "$keep_subject" "$num" "$signoff" "$headers" "$mimemagic" $commsg
|
||||
|
||||
git-diff-tree -p $diff_opts "$commit" | git-apply --stat --summary
|
||||
git-diff-tree -p --stat --summary $diff_opts "$commit"
|
||||
echo
|
||||
case "$mimemagic" in
|
||||
'');;
|
||||
|
@ -55,8 +55,7 @@ finish () {
|
||||
|
||||
case "$no_summary" in
|
||||
'')
|
||||
git-diff-tree -p -M "$head" "$1" |
|
||||
git-apply --stat --summary
|
||||
git-diff-tree -p --stat --summary -M "$head" "$1"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
@ -30,4 +30,4 @@ echo " $url"
|
||||
echo
|
||||
|
||||
git log $baserev..$headrev | git-shortlog ;
|
||||
git diff $baserev..$headrev | git-apply --stat --summary
|
||||
git diff --stat --summary $baserev..$headrev
|
||||
|
Loading…
Reference in New Issue
Block a user