Make push map available on P

I think matching the Magit interface is probably a better use of P than
wrapping --patch.  As a baby step in that direction, allow P to invoke
the same experimental behavior as "s" or "-".
This commit is contained in:
Tim Pope
2024-03-02 15:08:49 -05:00
parent a0b0c1ddc1
commit 5a9bd42dd8
2 changed files with 17 additions and 6 deletions

View File

@@ -380,6 +380,9 @@ p Open the file or |fugitive-object| under the cursor in
*fugitive_P*
P Open the current file in the [count]th parent.
Experimental: In the "Unpushed" section of the status
buffer, this will populate the command line with a
":Git push" command for the commit under the cursor.
*fugitive_C*
C Open the commit containing the current file.