Skip to content

Commit

Permalink
Merge branch 'rs/git-gui-use-modern-git-merge-syntax'
Browse files Browse the repository at this point in the history
The original command line syntax for "git merge", which was "git
merge <msg> HEAD <parent>...", has been deprecated for quite some
time, and "git gui" was the last in-tree user of the syntax.  This
is finally fixed, so that we can move forward with the deprecation.

* rs/git-gui-use-modern-git-merge-syntax:
  git-gui: stop using deprecated merge syntax
  • Loading branch information
gitster committed Oct 3, 2016
2 parents 71a57ab + ff65e79 commit 5a2c86f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions git-gui/lib/merge.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,7 @@ method _start {} {
close $fh
set _last_merged_branch $branch

set cmd [list git]
lappend cmd merge
lappend cmd --strategy=recursive
lappend cmd [git fmt-merge-msg <[gitdir FETCH_HEAD]]
lappend cmd HEAD
lappend cmd $name
set cmd [list git merge --strategy=recursive FETCH_HEAD]

ui_status [mc "Merging %s and %s..." $current_branch $stitle]
set cons [console::new [mc "Merge"] "merge $stitle"]
Expand Down

0 comments on commit 5a2c86f

Please sign in to comment.