summaryrefslogtreecommitdiff
path: root/Documentation/git-add.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-05-22 12:41:50 -0700
committerJunio C Hamano <gitster@pobox.com>2015-05-22 12:41:50 -0700
commitd1caa5895458443cc9535b6fda6ff8480383471b (patch)
treec9e449b8416bc1a10887c36b2b4b9262cca12af1 /Documentation/git-add.txt
parentc24e0e7751c29b71376e32383f4f7ee2bc8e218d (diff)
parentd0258b93e6eb95dd1169693dbcf12f0ae6f6a2eb (diff)
downloadgit-d1caa5895458443cc9535b6fda6ff8480383471b.tar.gz
Merge branch 'jk/asciidoc-markup-fix'
Various documentation mark-up fixes to make the output more consistent in general and also make AsciiDoctor (an alternative formatter) happier. * jk/asciidoc-markup-fix: doc: convert AsciiDoc {?foo} to ifdef::foo[] doc: put example URLs and emails inside literal backticks doc: drop backslash quoting of some curly braces doc: convert \--option to --option doc/add: reformat `--edit` option doc: fix length of underlined section-title doc: fix hanging "+"-continuation doc: fix unquoted use of "{type}" doc: fix misrendering due to `single quote'
Diffstat (limited to 'Documentation/git-add.txt')
-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 f2eb9076d7..fe5282f130 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.