Convert some "apply --summary" users to "diff --summary".
authorSean <seanlkml@sympatico.ca>
Sun, 14 May 2006 12:16:06 +0000 (08:16 -0400)
committerJunio C Hamano <junkio@cox.net>
Sun, 14 May 2006 23:29:20 +0000 (16:29 -0700)
Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-format-patch.sh
git-merge.sh
git-request-pull.sh

index c077f44ca1637008b5c16c3d48294a2d268edc9e..8a16eadfbd391c957c5e297a3511bbfe4c5ef89d 100755 (executable)
@@ -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
        '');;
index b834e79c98af51a9f3ad4927a2d11c999349b0e4..af1f25b3c51d197ea5fd24b7623dfb591f867133 100755 (executable)
@@ -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
 }
index 2c48bfb299325ba7a27e883b6a4815ebde09ae58..4319e35c628efdd86745c560d2dfe306b180fb1b 100755 (executable)
@@ -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