Permalink
Browse files

Negate the shell_error value during return

1 parent 33cceff commit 77aa7ea225b41f0121719fcc166cc9087f39f78e @jssjr jssjr committed Jan 9, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/gitgutter/utility.vim
@@ -177,7 +177,7 @@ endfunction
" True for git v1.7.2+.
function! gitgutter#utility#git_supports_command_line_config_override() abort
call system(g:gitgutter_git_executable.' -c foo.bar=baz --version')
- return v:shell_error == 0
+ return !v:shell_error
endfunction
function! gitgutter#utility#stringify(list) abort

0 comments on commit 77aa7ea

Please sign in to comment.