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 d5f8446158722e61d2cd13d18ee4c771ae9ac22d (tree)
parent 383b2a43df5b5170ce1f57f864d88715edcefd3e
Author: Tim Pope <code@tpope.net>
Date:   Sat, 26 Feb 2011 18:55:47 -0500

Let :Gdiff :/ diff against the work tree version

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

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -1104,7 +1104,7 @@ function! s:Diff(bang,...) abort let file = s:buffer().path('/') elseif a:1 ==# ':' let file = s:buffer().path(':0:') - elseif a:1 =~# '^:/' + elseif a:1 =~# '^:/.' try let file = s:repo().rev_parse(a:1).s:buffer().path(':') catch /^fugitive:/