mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-18 08:13:44 -05:00
Use unambiguous paths for :Gstatus dot map
When the current working directory isn't the work tree, use absolute paths so that pairing with both :Git and :! works as expected.
This commit is contained in:
@@ -63,6 +63,7 @@ that are part of Git repositories).
|
||||
U |:Git| checkout HEAD (staged files)
|
||||
U |:Git| clean (untracked files)
|
||||
U |:Git| rm (unmerged files)
|
||||
. enter |:| command line with file prepopulated
|
||||
|
||||
*fugitive-:Gcommit*
|
||||
:Gcommit [args] A wrapper around git-commit. If there is nothing
|
||||
@@ -304,10 +305,6 @@ P Go to the current file in the [count]th parent.
|
||||
*fugitive-C*
|
||||
C Go to the commit containing the current file.
|
||||
|
||||
*fugitive-.*
|
||||
. Start a |:| command line with the current
|
||||
|fugitive-object| prepopulated at the end of the line.
|
||||
|
||||
*fugitive-a*
|
||||
a Show the current tag, commit, or tree in an alternate
|
||||
format.
|
||||
|
||||
Reference in New Issue
Block a user