diff options
author | Robert Shearman <rob@codeweavers.com> | 2006-10-03 17:29:26 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-11-09 14:41:16 -0800 |
commit | a6ec3c1599f990b4f2f3dab2606688639f74d844 (patch) | |
tree | 67f3995486d87c46256b7cb4566a8b236a85e7f5 | |
parent | git-svn: fix dcommit losing changes when out-of-date from svn (diff) | |
download | tgif-a6ec3c1599f990b4f2f3dab2606688639f74d844.tar.xz |
git-rebase: Use --ignore-if-in-upstream option when executing git-format-patch.
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>
-rwxr-xr-x | git-rebase.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase.sh b/git-rebase.sh index a7373c0532..413636e208 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -286,7 +286,7 @@ fi 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 $? |