git-apply accepts the --cached option, not --cache. Signed-off-by: MichaÅ Kiedrowicz <michal.kiedrowicz@xxxxxxxxx> --- Documentation/git-apply.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git Documentation/git-apply.txt Documentation/git-apply.txt index 881652f..2dcfc09 100644 --- Documentation/git-apply.txt +++ 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. -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html