summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-05-13 04:58:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-05-13 05:13:40 (GMT)
commit0a3ca9c011c274f4e38a6a4508f5a370b32a0745 (patch)
treebf8654f603a1d8fcc82550f265c4e3439741e271 /Documentation
parenta367b8699de2cfcf03b9427d130ab49b8466aa68 (diff)
downloadgit-0a3ca9c011c274f4e38a6a4508f5a370b32a0745.zip
git-0a3ca9c011c274f4e38a6a4508f5a370b32a0745.tar.gz
git-0a3ca9c011c274f4e38a6a4508f5a370b32a0745.tar.bz2
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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-add.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 1c74907..72d97c0 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.