Skip to content

Commit 0a3ca9c

Browse files
peffgitster
authored andcommitted
doc/add: reformat --edit option
All of the other options in the list put short and long as two separate headings. We can also drop the backslashing of `--`. It isn't used elsewhere and is unnecessary for modern asciidoc (plus it confuses asciidoctor). Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a367b86 commit 0a3ca9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/git-add.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ This effectively runs `add --interactive`, but bypasses the
9393
initial command menu and directly jumps to the `patch` subcommand.
9494
See ``Interactive mode'' for details.
9595

96-
-e, \--edit::
96+
-e::
97+
--edit::
9798
Open the diff vs. the index in an editor and let the user
9899
edit it. After the editor was closed, adjust the hunk headers
99100
and apply the patch to the index.

0 commit comments

Comments
 (0)