Documentation: fix a typo in git-apply.txt

git-apply accepts the --cached option, not --cache.

Signed-off-by: Michał Kiedrowicz <michal.kiedrowicz@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Michał Kiedrowicz 2011-03-03 10:28:30 +01:00 committed by Junio C Hamano
parent b31d20227a
commit 964498e7f9
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ DESCRIPTION
----------- -----------
Reads the supplied diff output (i.e. "a patch") and applies it to files. Reads the supplied diff output (i.e. "a patch") and applies it to files.
With the `--index` option the patch is also applied to the index, and With the `--index` option the patch is also applied to the index, and
with the `--cache` option the patch is only applied to the index. with the `--cached` option the patch is only applied to the index.
Without these options, the command applies the patch only to files, Without these options, the command applies the patch only to files,
and does not require them to be in a git repository. and does not require them to be in a git repository.