apply docs: clarify wording for --intent-to-add
Avoid using a double negative, and keep in mind that --index and --cached are distinct modes of operation. Signed-off-by: Raymond E. Pasco <ray@ameretat.dev> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
a4c969aa0d
commit
2b49d97fcb
@@ -75,13 +75,14 @@ OPTIONS
|
|||||||
tree. If `--check` is in effect, merely check that it would
|
tree. If `--check` is in effect, merely check that it would
|
||||||
apply cleanly to the index entry.
|
apply cleanly to the index entry.
|
||||||
|
|
||||||
|
-N::
|
||||||
--intent-to-add::
|
--intent-to-add::
|
||||||
When applying the patch only to the working tree, mark new
|
When applying the patch only to the working tree, mark new
|
||||||
files to be added to the index later (see `--intent-to-add`
|
files to be added to the index later (see `--intent-to-add`
|
||||||
option in linkgit:git-add[1]). This option is ignored unless
|
option in linkgit:git-add[1]). This option is ignored if
|
||||||
running in a Git repository and `--index` is not specified.
|
`--index` or `--cached` are used, and has no effect outside a Git
|
||||||
Note that `--index` could be implied by other options such
|
repository. Note that `--index` could be implied by other options
|
||||||
as `--cached` or `--3way`.
|
such as `--3way`.
|
||||||
|
|
||||||
-3::
|
-3::
|
||||||
--3way::
|
--3way::
|
||||||
|
|||||||
Reference in New Issue
Block a user