diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-05-19 23:17:57 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-19 23:17:57 +0300 |
commit | bcd1ecd08a644a19adfebb31a72a4e608e077c6d (patch) | |
tree | 89677c05d8c8a8fb83c4036648e1d620671a451a /git-pull.sh | |
parent | eae0216646039b203cd60c4294ef79f805fbd696 (diff) | |
parent | d45366e8aa922037e7e84c3f35924d2b1399a453 (diff) |
Merge branch 'jc/merge'
"git merge FETCH_HEAD" learned that the previous "git fetch" could
be to create an Octopus merge, i.e. recording multiple branches
that are not marked as "not-for-merge"; this allows us to lose an
old style invocation "git merge <msg> HEAD $commits..." in the
implementation of "git pull" script; the old style syntax can now
be deprecated.
* jc/merge:
merge: deprecate 'git merge <message> HEAD <commit>' syntax
merge: handle FETCH_HEAD internally
merge: decide if we auto-generate the message early in collect_parents()
merge: make collect_parents() auto-generate the merge message
merge: extract prepare_merge_message() logic out
merge: narrow scope of merge_names
merge: split reduce_parents() out of collect_parents()
merge: clarify collect_parents() logic
merge: small leakfix and code simplification
merge: do not check argc to determine number of remote heads
merge: clarify "pulling into void" special case
t5520: test pulling an octopus into an unborn branch
t5520: style fixes
merge: simplify code flow
merge: test the top-level merge driver
Diffstat (limited to 'git-pull.sh')
-rwxr-xr-x | git-pull.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/git-pull.sh b/git-pull.sh index ad442264cb..9ed01fd219 100755 --- a/git-pull.sh +++ b/git-pull.sh @@ -323,7 +323,6 @@ then fi fi -merge_name=$(git fmt-merge-msg $log_arg <"$GIT_DIR/FETCH_HEAD") || exit case "$rebase" in true) eval="git-rebase $diffstat $strategy_args $merge_args $rebase_args $verbosity" @@ -334,7 +333,7 @@ true) eval="git-merge $diffstat $no_commit $verify_signatures $edit $squash $no_ff $ff_only" eval="$eval $log_arg $strategy_args $merge_args $verbosity $progress" eval="$eval $gpg_sign_args" - eval="$eval \"\$merge_name\" HEAD $merge_head" + eval="$eval FETCH_HEAD" ;; esac eval "exec $eval" |