summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 83ad63c)
raw | patch | inline | side by side (parent: 83ad63c)
author | Eric Wong <normalperson@yhbt.net> | |
Sat, 8 Jul 2006 08:50:02 +0000 (01:50 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 8 Jul 2006 10:11:16 +0000 (03:11 -0700) |
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
templates/hooks--update | patch | blob | history |
index d7a8f0a849523ebc280e06fe836f3bc448993d0c..76d5ac2477d669aabfef8108cfbb713fbdfef70a 100644 (file)
--- a/templates/hooks--update
+++ b/templates/hooks--update
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
;;
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:"
;;