diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-05-22 12:41:50 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-22 12:41:50 -0700 |
commit | d1caa5895458443cc9535b6fda6ff8480383471b (patch) | |
tree | c9e449b8416bc1a10887c36b2b4b9262cca12af1 /Documentation/git-add.txt | |
parent | Merge branch 'jk/stripspace-asciidoctor-fix' (diff) | |
parent | doc: convert AsciiDoc {?foo} to ifdef::foo[] (diff) | |
download | tgif-d1caa5895458443cc9535b6fda6ff8480383471b.tar.xz |
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.txt | 3 |
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. |