Always set sy.updated_by

References #235.
This commit is contained in:
Marco Hinz 2017-04-21 13:34:00 +02:00
parent f39f103f55
commit 952920b92d
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -196,10 +196,10 @@ function! sy#sign#process_diff(sy, vcs, diff) abort
endif endif
call sy#verbose('Signs updated.', a:vcs) call sy#verbose('Signs updated.', a:vcs)
let a:sy.updated_by = a:vcs
if len(a:sy.vcs) > 1 if len(a:sy.vcs) > 1
call sy#verbose('Disable all other VCS.', a:vcs) call sy#verbose('Disable all other VCS.', a:vcs)
let a:sy.vcs = [a:vcs] let a:sy.vcs = [a:vcs]
let a:sy.updated_by = a:vcs
endif endif
let a:sy.stats = [added, modified, deleted] let a:sy.stats = [added, modified, deleted]