From: Jeff King Date: Wed, 13 May 2015 04:58:51 +0000 (-0400) Subject: doc/add: reformat `--edit` option X-Git-Tag: v2.4.3~11^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0a3ca9c011c274f4e38a6a4508f5a370b32a0745;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt index 1c74907dd4..72d97c08f5 100644 --- a/Documentation/git-add.txt +++ b/Documentation/git-add.txt @@ -93,7 +93,8 @@ This effectively runs `add --interactive`, but bypasses the initial command menu and directly jumps to the `patch` subcommand. See ``Interactive mode'' for details. --e, \--edit:: +-e:: +--edit:: Open the diff vs. the index in an editor and let the user edit it. After the editor was closed, adjust the hunk headers and apply the patch to the index.