Skip to content

Commit 0bc409d

Browse files
committed
Merge branch 'rs/git-gui-use-modern-git-merge-syntax' into maint
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
2 parents e1eb84c + ff65e79 commit 0bc409d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

git-gui/lib/merge.tcl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,7 @@ method _start {} {
112112
close $fh
113113
set _last_merged_branch $branch
114114

115-
set cmd [list git]
116-
lappend cmd merge
117-
lappend cmd --strategy=recursive
118-
lappend cmd [git fmt-merge-msg <[gitdir FETCH_HEAD]]
119-
lappend cmd HEAD
120-
lappend cmd $name
115+
set cmd [list git merge --strategy=recursive FETCH_HEAD]
121116

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

0 commit comments

Comments
 (0)