|
@@ -1,14 +1,12 @@
|
|
|
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
|
|
|
-index ce16048..2182c1b 100644
|
|
|
+index 04ed1e9..256e252 100644
|
|
|
--- a/autoload/fugitive.vim
|
|
|
+++ b/autoload/fugitive.vim
|
|
|
-@@ -2906,6 +2906,9 @@ function! fugitive#BufReadStatus(...) abort
|
|
|
- if len(pull) && get(props, 'branch.ab') !~# ' -0$'
|
|
|
- call s:AddLogSection('Unpulled from ' . pull, [head . '..' . pull])
|
|
|
+@@ -2938,6 +2938,7 @@ function! fugitive#BufReadStatus(...) abort
|
|
|
+ if len(pull_ref) && get(props, 'branch.ab') !~# ' -0$'
|
|
|
+ call s:AddLogSection('Unpulled from ' . pull_short, s:QueryLogRange(head, pull_ref))
|
|
|
endif
|
|
|
-+ if len(push) && push ==# pull
|
|
|
-+ call s:AddLogSection('Pushed to ' . push, ['origin/HEAD..' . push])
|
|
|
-+ endif
|
|
|
++ call s:AddLogSection('Pushed to ' . push_short, s:QueryLogRange('origin/HEAD', unique_push_ref))
|
|
|
|
|
|
setlocal nomodified readonly noswapfile
|
|
|
doautocmd BufReadPost
|