diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index f32b3ea..7170231 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -7145,12 +7145,10 @@ function! fugitive#BrowseCommand(line1, count, range, bang, mods, arg, ...) abor for line in readfile(result.file, '', 4096) let rev = s:fnameescape(matchstr(line, '\]*[^[:space:]<>.,;:"''!?]')) if len(rev) - break + return s:BrowserOpen(rev, a:mods, a:bang) endif endfor - if empty(rev) - return 'echoerr ' . string('fugitive: no URL found in output of :Git') - endif + return 'echoerr ' . string('fugitive: no URL found in output of :Git') endif exe s:DirCheck(dir) if empty(expanded)