Last active
February 18, 2021 13:15
-
-
Save osa1/35078663d15fbdb88899663697b65774 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim | |
index 94cf8d0..4e58385 100644 | |
--- a/autoload/fugitive.vim | |
+++ b/autoload/fugitive.vim | |
@@ -2147,7 +2147,7 @@ function! fugitive#BufReadCmd(...) abort | |
if b:fugitive_display_format | |
call s:ReplaceCmd([dir, 'cat-file', b:fugitive_type, rev]) | |
else | |
- call s:ReplaceCmd([dir, '-c', 'diff.noprefix=false', 'show', '--no-color', '-m', '--first-parent', '--pretty=format:tree%x20%T%nparent%x20%P%nauthor%x20%an%x20<%ae>%x20%ad%ncommitter%x20%cn%x20<%ce>%x20%cd%nencoding%x20%e%n%n%s%n%n%b', rev]) | |
+ call s:ReplaceCmd([dir, '-c', 'diff.noprefix=false', 'show', '--no-color', '-m', '--first-parent', '--pretty=format:commit%x20%H%ntree%x20%T%nparent%x20%P%nauthor%x20%an%x20<%ae>%x20%ad%ncommitter%x20%cn%x20<%ce>%x20%cd%nencoding%x20%e%n%n%s%n%n%b', rev]) | |
keepjumps 1 | |
keepjumps call search('^parent ') | |
if getline('.') ==# 'parent ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment