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 1e6d7c8a4016d09cba8ad23fc69b0026ce6cee91 (tree)
parent d5f8446158722e61d2cd13d18ee4c771ae9ac22d
Author: Tim Pope <code@tpope.net>
Date:   Sat, 26 Feb 2011 20:12:34 -0500

Fix use of throw

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

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -1541,7 +1541,7 @@ function! s:instaweb_url(repo,rev,commit,path,type,...) abort try let url .= ';h=' . a:repo.rev_parse((a:commit == '' ? 'HEAD' : ':' . a:commit) . ':' . a:path) catch /^fugitive:/ - throw 'fugitive: cannot browse uncommitted file' + call s:throw('fugitive: cannot browse uncommitted file') endtry endif let root .= ';hb=' . matchstr(a:repo.head_ref(),'[^ ]\+$')