Skip to content

Commit

Permalink
Now working with shellslash
Browse files Browse the repository at this point in the history
  • Loading branch information
wywong committed Aug 14, 2013
1 parent fa6c08b commit e49faae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin/gitgutter.vim
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ function! s:discard_stdout_and_stderr()
endfunction

function! s:command_in_directory_of_file(cmd)
return 'cd ' . s:directory_of_file() . ' && ' . a:cmd
let s:cmd_in_dir = 'cd ' . s:directory_of_file() . ' && ' . a:cmd
return substitute(s:cmd_in_dir, "'", '"', 'g')
endfunction

function! s:is_in_a_git_repo()
Expand Down

0 comments on commit e49faae

Please sign in to comment.