aboutsummaryrefslogtreecommitdiffstats
path: root/bundle/git-blamer/autoload/git_blamer.vim
diff options
context:
space:
mode:
authorTeddy Wing2015-09-08 16:52:43 -0400
committerTeddy Wing2015-09-08 16:52:43 -0400
commit04703fd94dfd7579e26ec19ade9d2fb5da5b3e76 (patch)
tree5244d8cd57eb6dd1fffd880465b67e146b515c97 /bundle/git-blamer/autoload/git_blamer.vim
parent9f6e1b2551ec21cd116488c192f9e7ee6d8d7612 (diff)
downloaddotvim-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.
Diffstat (limited to 'bundle/git-blamer/autoload/git_blamer.vim')
-rw-r--r--bundle/git-blamer/autoload/git_blamer.vim2
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