motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 7a281a925c07e0ef3fb082164e441ee3cecab124 (tree)
parent a5e10c932d1cc2d8f8c516d0c2415684b899604e
Author: Tim Pope <code@tpope.net>
Date:   Wed, 14 Oct 2009 15:53:41 -0400

Don't blow up on :Gdiff HEAD

Diffstat:
Mplugin/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -558,7 +558,7 @@ function! s:Diff(...) abort let file = s:buffer().expand(a:1) endif if file !~ ':' && file !~ '^/' - let file = file.s:buffer.path(':') + let file = file.s:buffer().path(':') endif else let file = s:buffer().path(s:buffer().commit() == '' ? ':' : '/')