summaryrefslogtreecommitdiff
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-08-20 12:53:08 -0700
committerJunio C Hamano <gitster@pobox.com>2010-08-20 12:53:08 -0700
commit09c6a8e66cfe51400e6e7d5086266195c7ef62bf (patch)
treeccef1948bd362902e625d5070384bfcb57ef2548 /git-rebase.sh
parent1e627881465dbb47eeea85aa729dd4261216ff1b (diff)
parent840b3ca758a42cb1481259521126ba2b02a5447a (diff)
downloadgit-09c6a8e66cfe51400e6e7d5086266195c7ef62bf.tar.gz
Merge branch 'jn/rebase-rename-am' into maint
* jn/rebase-rename-am: rebase: protect against diff.renames configuration t3400 (rebase): whitespace cleanup Teach "apply --index-info" to handle rename patches t4150 (am): futureproof against failing tests t4150 (am): style fix
Diffstat (limited to 'git-rebase.sh')
-rwxr-xr-xgit-rebase.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase.sh b/git-rebase.sh
index 1d38afdb10..1b9ea48cd7 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -544,7 +544,7 @@ fi
if test -z "$do_merge"
then
git format-patch -k --stdout --full-index --ignore-if-in-upstream \
- $root_flag "$revisions" |
+ --no-renames $root_flag "$revisions" |
git am $git_am_opt --rebasing --resolvemsg="$RESOLVEMSG" &&
move_to_original_branch
ret=$?