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>
Michał Kiedrowicz committed
Mar 3, 2011 at 10:28 UTC
964498e7f90bc5d822746bbf953fb66c6b01ac1c
1 file changed
+1
-1
Documentation/git-apply.txt
+1
-1
@@ -22,7 +22,7 @@ DESCRIPTION
22
-----------
23
Reads the supplied diff output (i.e. "a patch") and applies it to files.
24
With the `--index` option the patch is also applied to the index, and
25
-with the `--cache` option the patch is only applied to the index.
25
+with the `--cached` option the patch is only applied to the index.
26
Without these options, the command applies the patch only to files,
27
and does not require them to be in a git repository.
28