Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-pull-script: add a final "diffstat" to show the result of the merge.
[gitweb.git]
/
git-pull-script
diff --git
a/git-pull-script
b/git-pull-script
index 4220e187321e21d18d84481c98c473fb45cca86b..9315426e7a79b4cb77852950764de317573de23e 100755
(executable)
--- a/
git-pull-script
+++ b/
git-pull-script
@@
-54,3
+54,4
@@
result_commit=$(echo "$merge_msg" | git-commit-tree $result_tree -p $head -p $me
echo "Committed merge $result_commit"
echo $result_commit > .git/HEAD
git-checkout-cache -f -a && git-update-cache --refresh
+git-diff-tree -p ORIG_HEAD HEAD | diffstat -p1