Remove --intend-to-add from :Gstatus i

You can't actually apply a hunk to a file added with --intend-to-add, so
this did not pair well with the hunk expansion behavior.
This commit is contained in:
Tim Pope
2019-07-23 19:36:18 -04:00
parent d88a0f8465
commit 994d1b518f
2 changed files with 8 additions and 13 deletions

View File

@@ -270,11 +270,6 @@ X Discard the change under the cursor. This uses
*fugitive_>*
> Remove the inline diff of the file under the cursor.
*fugitive_i*
i On untracked files, call |:Git| add --intent-to-add.
Otherwise, move to next hunk, expanding inline diffs
automatically.
*fugitive_dd*
dd Perform a |:Gdiffsplit| on the file under the cursor.
@@ -328,6 +323,10 @@ C Open the commit containing the current file.
) Jump to the next file or hunk.
<C-N>
*fugitive_i*
i Jump to the next file or hunk, expanding inline diffs
automatically.
*fugitive_[[*
[[ Jump to the previous section.