summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Michał Kiedrowicz <michal.kiedrowicz@gmail.com>2011-03-03 10:28:30 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-03-04 10:05:00 -0800
commit964498e7f90bc5d822746bbf953fb66c6b01ac1c (patch)
tree67e5d8e9a40318a34870baffe76b26e1b9e81a8a
parentinit: remove unnecessary check (diff)
downloadtgif-964498e7f90bc5d822746bbf953fb66c6b01ac1c.tar.xz
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>
-rw-r--r--Documentation/git-apply.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-apply.txt b/Documentation/git-apply.txt
index 881652f490..2dcfc097d3 100644
--- a/Documentation/git-apply.txt
+++ b/Documentation/git-apply.txt
@@ -22,7 +22,7 @@ DESCRIPTION
-----------
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 `--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,
and does not require them to be in a git repository.