projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31c6d0
)
git-pull-script: add a final "diffstat" to show the result of the merge.
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Wed, 4 May 2005 14:12:18 +0000
(07:12 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Wed, 4 May 2005 14:12:18 +0000
(07:12 -0700)
This is useful to verify that you got the right thing.
git-pull-script
patch
|
blob
|
history
diff --git
a/git-pull-script
b/git-pull-script
index
4220e18
..
9315426
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