Add simple logging.

This commit is contained in:
Andy Stewart
2016-04-25 13:19:50 +01:00
parent 52d1167d7d
commit 4bed1da648
6 changed files with 28 additions and 3 deletions

View File

@@ -121,6 +121,8 @@ function! gitgutter#utility#using_xolox_shell()
endfunction
function! gitgutter#utility#system(cmd, ...)
call gitgutter#debug#log(a:cmd, a:000)
if gitgutter#utility#using_xolox_shell()
let options = {'command': a:cmd, 'check': 0}
if a:0 > 0