[PATCH] git-apply.txt: correct description of --cached
- From
Raymond E. Pasco <ray@ameretat.dev>
- Date
- Aug 10, 2020, 11:03 UTC
- Message-ID
- <20200810110338.52203-1-ray@ameretat.dev>
- In-Reply-To
- <C4RO9JSUGPKG.2UQX61X628B6P@ziyou.local>
The blurb for "--cached" says it implies "--index", but in reality "--cached" and "--index" are distinct modes with different behavior.
Remove the sentence "This implies `--index`." to make the description accurate.
Signed-off-by: Raymond E. Pasco <ray@ameretat.dev> --- Documentation/git-apply.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-apply.txt b/Documentation/git-apply.txt index b9aa39000f..373a9354b5 100644 --- a/Documentation/git-apply.txt +++ b/Documentation/git-apply.txt @@ -72,7 +72,7 @@ OPTIONS --cached:: Apply a patch without touching the working tree. Instead take the cached data, apply the patch, and store the result in the index - without using the working tree. This implies `--index`. + without using the working tree. --intent-to-add:: When applying the patch only to the working tree, mark new
-- 2.28.0.10.gc1c9059842