From: Eric Wong Date: Sat, 8 Jul 2006 08:50:02 +0000 (-0700) Subject: templates/hooks--update: replace diffstat calls with git diff --stat X-Git-Tag: v1.4.2-rc1~58^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3a895e0268537da731f5efe914ece5e7eac35ef3?ds=inline;hp=-c templates/hooks--update: replace diffstat calls with git diff --stat Signed-off-by: Eric Wong Signed-off-by: Junio C Hamano --- 3a895e0268537da731f5efe914ece5e7eac35ef3 diff --git a/templates/hooks--update b/templates/hooks--update index d7a8f0a849..76d5ac2477 100644 --- a/templates/hooks--update +++ b/templates/hooks--update @@ -60,7 +60,7 @@ then echo "Changes since $prev:" git rev-list --pretty $prev..$3 | $short echo --- - git diff $prev..$3 | diffstat -p1 + git diff --stat $prev..$3 echo --- fi ;; @@ -75,7 +75,7 @@ else base=$(git-merge-base "$2" "$3") case "$base" in "$2") - git diff "$3" "^$base" | diffstat -p1 + git diff --stat "$3" "^$base" echo echo "New commits:" ;;