From 04703fd94dfd7579e26ec19ade9d2fb5da5b3e76 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 8 Sep 2015 16:52:43 -0400 Subject: 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. --- bundle/git-blamer/autoload/git_blamer.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bundle/git-blamer/autoload') 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 -- cgit v1.2.3