提交 9d76812b 编写于 作者: S Sean 提交者: Junio C Hamano

Convert some "apply --summary" users to "diff --summary".

Signed-off-by: NSean Estabrooks <seanlkml@sympatico.ca>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 4bbd261b
...@@ -274,7 +274,7 @@ print "\n---\n\n"; ...@@ -274,7 +274,7 @@ print "\n---\n\n";
close FH or die "close $commsg pipe"; close FH or die "close $commsg pipe";
' "$keep_subject" "$num" "$signoff" "$headers" "$mimemagic" $commsg ' "$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 echo
case "$mimemagic" in case "$mimemagic" in
'');; '');;
......
...@@ -55,8 +55,7 @@ finish () { ...@@ -55,8 +55,7 @@ finish () {
case "$no_summary" in case "$no_summary" in
'') '')
git-diff-tree -p -M "$head" "$1" | git-diff-tree -p --stat --summary -M "$head" "$1"
git-apply --stat --summary
;; ;;
esac esac
} }
......
...@@ -30,4 +30,4 @@ echo " $url" ...@@ -30,4 +30,4 @@ echo " $url"
echo echo
git log $baserev..$headrev | git-shortlog ; git log $baserev..$headrev | git-shortlog ;
git diff $baserev..$headrev | git-apply --stat --summary git diff --stat --summary $baserev..$headrev
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册