Replies: 1 comment 1 reply
-
Yes. You're not the first to get confused, so I'll try swapping in some different wording there.
Many things you can do but they're all pretty mundane. For example, you can use
I haven't been sure how to talk about it in the documentation because I don't want to give the impression it's super important.
Early versions of Fugitive did what you expected, but it was just too overloaded, especially for Where did you get the impression
Is your confusion that you called |
Beta Was this translation helpful? Give feedback.
-
Background
:help fugitive-object
says:AFAICT:
Questions
!
or other ways I can understand it?Context
The shorthand for diffing a file against the parent w/ Fugitive is
:Gdiff !^
, not:Gdiff ^
(which I found out when:Gdiffsplit!
didn't do what I expected since it's supposed to diff against direct ancestors). Needing!
is mentioned here, but that’s really about~
. UsingHEAD^
works just fine, as does@^
. I was surprised^
alone doesn’t, and then spent way too much time trying to understand what!
does in the code. I did find fd83fca (Support expansion flags, 2018-08-28), but that didn’t help much.Beta Was this translation helpful? Give feedback.
All reactions