Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
pull: pass --strategy along to to rebase
author
Jay Soffian
<jaysoffian@gmail.com>
Sat, 23 Feb 2008 00:52:29 +0000
(19:52 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 23 Feb 2008 05:44:46 +0000
(21:44 -0800)
rebase supports --strategy, so pull should pass the option along to it.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-pull.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (from parent 1:
eb7a2f1
)
diff --git
a/git-pull.sh
b/git-pull.sh
index 46da0f4ca2bfc2b30e4da8eb551565a06c876fb1..3ce32b5f211bd20f1d154c860eb5bf7f9005ca3c 100755
(executable)
--- a/
git-pull.sh
+++ b/
git-pull.sh
@@
-174,6
+174,7
@@
fi
merge_name=$(git fmt-merge-msg <"$GIT_DIR/FETCH_HEAD") || exit
test true = "$rebase" &&
merge_name=$(git fmt-merge-msg <"$GIT_DIR/FETCH_HEAD") || exit
test true = "$rebase" &&
- exec git-rebase --onto $merge_head ${oldremoteref:-$merge_head}
+ exec git-rebase $strategy_args --onto $merge_head \
+ ${oldremoteref:-$merge_head}
exec git-merge $no_summary $no_commit $squash $no_ff $strategy_args \
"$merge_name" HEAD $merge_head
exec git-merge $no_summary $no_commit $squash $no_ff $strategy_args \
"$merge_name" HEAD $merge_head