path: root/Documentation/git-apply.txt
diff options
authorMichał Kiedrowicz <>2011-03-03 09:28:30 (GMT)
committerJunio C Hamano <>2011-03-04 18:05:00 (GMT)
commit964498e7f90bc5d822746bbf953fb66c6b01ac1c (patch)
tree67e5d8e9a40318a34870baffe76b26e1b9e81a8a /Documentation/git-apply.txt
parentb31d20227a4e3c71cf545d2142996e27cacadcec (diff)
Documentation: fix a typo in git-apply.txt
git-apply accepts the --cached option, not --cache. Signed-off-by: Michał Kiedrowicz <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-apply.txt')
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-apply.txt b/Documentation/git-apply.txt
index 881652f..2dcfc09 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.