diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 118572f..d6f2b1f 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -7250,7 +7250,7 @@ function! fugitive#BrowseCommand(line1, count, range, bang, mods, arg, ...) abor if !exists('l:result') let result = s:TempState(empty(expanded) ? bufnr('') : expanded) endif - if !empty(result) && filereadable(get(result, 'file', '')) + if !get(result, 'origin_bufnr', 1) && filereadable(get(result, 'file', '')) for line in readfile(result.file, '', 4096) let rev = s:fnameescape(matchstr(line, '\]*[^[:space:]<>.,;:"''!?]')) if len(rev)