Merge branch 'en/rebase-against-rebase-fix'
* en/rebase-against-rebase-fix: pull --rebase: Avoid spurious conflicts and reapplying unnecessary patches t5520-pull: Add testcases showing spurious conflicts from git pull --rebase
This commit is contained in:
@ -273,6 +273,15 @@ then
|
||||
exit
|
||||
fi
|
||||
|
||||
if test true = "$rebase"
|
||||
then
|
||||
o=$(git show-branch --merge-base $curr_branch $merge_head $oldremoteref)
|
||||
if test "$oldremoteref" = "$o"
|
||||
then
|
||||
unset oldremoteref
|
||||
fi
|
||||
fi
|
||||
|
||||
merge_name=$(git fmt-merge-msg $log_arg <"$GIT_DIR/FETCH_HEAD") || exit
|
||||
case "$rebase" in
|
||||
true)
|
||||
|
||||
Reference in New Issue
Block a user