Merge branch 'rs/use-modern-git-merge-syntax' of git-gui into rs/git-gui-use-modern-git-merge-syntax

* 'rs/use-modern-git-merge-syntax' of git-gui:
  git-gui: stop using deprecated merge syntax
This commit is contained in:
Junio C Hamano 2016-09-26 07:16:29 -07:00
Родитель 0b65a8dbdb b5f325cb4a
Коммит ff65e796f0
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -112,12 +112,7 @@ method _start {} {
close $fh close $fh
set _last_merged_branch $branch set _last_merged_branch $branch
set cmd [list git] set cmd [list git merge --strategy=recursive FETCH_HEAD]
lappend cmd merge
lappend cmd --strategy=recursive
lappend cmd [git fmt-merge-msg <[gitdir FETCH_HEAD]]
lappend cmd HEAD
lappend cmd $name
ui_status [mc "Merging %s and %s..." $current_branch $stitle] ui_status [mc "Merging %s and %s..." $current_branch $stitle]
set cons [console::new [mc "Merge"] "merge $stitle"] set cons [console::new [mc "Merge"] "merge $stitle"]