diff options
author | Teddy Wing | 2015-09-08 16:52:43 -0400 |
---|---|---|
committer | Teddy Wing | 2015-09-08 16:52:43 -0400 |
commit | 04703fd94dfd7579e26ec19ade9d2fb5da5b3e76 (patch) | |
tree | 5244d8cd57eb6dd1fffd880465b67e146b515c97 | |
parent | 9f6e1b2551ec21cd116488c192f9e7ee6d8d7612 (diff) | |
download | dotvim-04703fd94dfd7579e26ec19ade9d2fb5da5b3e76.tar.bz2 |
git-blamer: Use `git blame -w`
Add the `-w` flag to our `git blame` call in order to ignore whitespace
changes so we can see who originally introduced a line's change even if
there were subsequent whitespace changes made to the line.
-rw-r--r-- | bundle/git-blamer/autoload/git_blamer.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle/git-blamer/autoload/git_blamer.vim b/bundle/git-blamer/autoload/git_blamer.vim index 17de84a..cfd58f4 100644 --- a/bundle/git-blamer/autoload/git_blamer.vim +++ b/bundle/git-blamer/autoload/git_blamer.vim @@ -17,7 +17,7 @@ function! git_blamer#Blame() setlocal scrollbind cursorbind " Read in `git blame` output - execute 'read !git blame ' . l:buffer_name + execute 'read !git blame -w ' . l:buffer_name " Delete empty first line 1 delete |