fugitive-origin-head.patch 550 B

123456789101112
  1. diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
  2. index 04ed1e9..256e252 100644
  3. --- a/autoload/fugitive.vim
  4. +++ b/autoload/fugitive.vim
  5. @@ -2938,6 +2938,7 @@ function! fugitive#BufReadStatus(...) abort
  6. if len(pull_ref) && get(props, 'branch.ab') !~# ' -0$'
  7. call s:AddLogSection('Unpulled from ' . pull_short, s:QueryLogRange(head, pull_ref))
  8. endif
  9. + call s:AddLogSection('Pushed to ' . push_short, s:QueryLogRange('origin/HEAD', unique_push_ref))
  10. setlocal nomodified readonly noswapfile
  11. doautocmd BufReadPost