summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eb7a2f1)
raw | patch | inline | side by side (parent: eb7a2f1)
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>
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-pull.sh | patch | blob | history |
diff --git a/git-pull.sh b/git-pull.sh
index 46da0f4ca2bfc2b30e4da8eb551565a06c876fb1..3ce32b5f211bd20f1d154c860eb5bf7f9005ca3c 100755 (executable)
--- a/git-pull.sh
+++ b/git-pull.sh
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