summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 45bf473)
raw | patch | inline | side by side (parent: 45bf473)
author | Robert Shearman <rob@codeweavers.com> | |
Tue, 3 Oct 2006 16:29:26 +0000 (17:29 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 9 Nov 2006 22:41:16 +0000 (14:41 -0800) |
This reduces the number of conflicts when rebasing after a series of
patches to the same piece of code is committed upstream.
Signed-off-by: Robert Shearman <rob@codeweavers.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
patches to the same piece of code is committed upstream.
Signed-off-by: Robert Shearman <rob@codeweavers.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-rebase.sh | patch | blob | history |
diff --git a/git-rebase.sh b/git-rebase.sh
index a7373c0532fad447263e7199d0b8ec2908c683c9..413636e2086a8c7274c0bc4cb04037f2e07f588e 100755 (executable)
--- a/git-rebase.sh
+++ b/git-rebase.sh
if test -z "$do_merge"
then
- git-format-patch -k --stdout --full-index "$upstream"..ORIG_HEAD |
+ git-format-patch -k --stdout --full-index --ignore-if-in-upstream "$upstream"..ORIG_HEAD |
git am --binary -3 -k --resolvemsg="$RESOLVEMSG" \
--reflog-action=rebase
exit $?