Permalink
Browse files

- trim newline?

  • Loading branch information...
1 parent 085d856 commit 62c6f93f5fec2da9ae86a6d3f821640ba2edbf9e @jordansissel committed Feb 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/ackmore.vim
View
@@ -20,7 +20,7 @@ function! SetGitRoot()
if !exists("b:gitroot")
" Keep track of the root of the current git repo, if any.
" TODO(sissel): Probably should put this in a separate plugin
- let b:gitroot=system("git rev-parse --show-toplevel")
+ let b:gitroot=system("git rev-parse --show-toplevel | tr -d '\n'")
endif
endfunction " SetGitRoot

0 comments on commit 62c6f93

Please sign in to comment.