Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
doc/add: reformat `--edit` option
author
Jeff King
<peff@peff.net>
Wed, 13 May 2015 04:58:51 +0000
(
00:58
-0400)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 13 May 2015 05:13:40 +0000
(22:13 -0700)
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>
Documentation/git-add.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
a367b86
)
diff --git
a/Documentation/git-add.txt
b/Documentation/git-add.txt
index 1c74907dd4c9021f41d88cf9f766c4855c0d6f97..72d97c08f5bb5ee4a59e335f8ba2686e28f8958b 100644
(file)
--- 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.