projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
185612b
)
Skip merges in format-patch.
author
Junio C Hamano
<junkio@cox.net>
Wed, 10 Aug 2005 07:06:16 +0000
(
00:06
-0700)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 10 Aug 2005 07:06:56 +0000
(
00:06
-0700)
git-format-patch-script
patch
|
blob
|
history
diff --git
a/git-format-patch-script
b/git-format-patch-script
index
003194c
..
c008169
100755
(executable)
--- a/
git-format-patch-script
+++ b/
git-format-patch-script
@@
-117,7
+117,8
@@
_x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
_x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"
stripCommitHead='/^'"$_x40"' (from '"$_x40"')$/d'
-git-rev-list --merge-order $(git-rev-parse --revs-only "$revpair") >$series
+git-rev-list --no-merges --merge-order \
+ $(git-rev-parse --revs-only "$revpair") >$series
total=`wc -l <$series | tr -dc "[0-9]"`
i=$total
while read commit