Merge branch 'rs/use-modern-git-merge-syntax' of git-gui into rs/git-gui-use-modern-git-merge-syntax
authorJunio C Hamano <gitster@pobox.com>
Mon, 26 Sep 2016 14:16:29 +0000 (07:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Sep 2016 14:16:48 +0000 (07:16 -0700)
* 'rs/use-modern-git-merge-syntax' of git-gui:
git-gui: stop using deprecated merge syntax

git-gui/lib/merge.tcl
index 460d32fa22fc77f6621e5ec9a9c6ba6dc98050c2..5ab6f8f10210a0e394315e247a2895d4577569f4 100644 (file)
@@ -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"]