Fix restore of sequence editor

This commit is contained in:
Tim Pope
2019-03-07 20:01:28 -05:00
parent 59f104075c
commit 3aaeaca87b

View File

@@ -2906,7 +2906,7 @@ function! s:Merge(cmd, bang, mods, args, ...) abort
let $GIT_EDITOR = old_editor
endif
if exists('old_sequence_editor')
let $GIT_SEQUENCE_EDITOR = old_editor
let $GIT_SEQUENCE_EDITOR = old_sequence_editor
endif
execute cdback
endtry