git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation: fix a typo in git-apply.txt

From
Michał Kiedrowicz <michal.kiedrowicz@gmail.com>
Date
Mar 3, 2011, 09:28 UTC
Message-ID
<1299144510-8143-1-git-send-email-michal.kiedrowicz@gmail.com>
git-apply accepts the --cached option, not --cache.
Signed-off-by: Michał Kiedrowicz <michal.kiedrowicz@gmail.com>
---
 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
Next: Junio C Hamano
Message 1 of 5 in “Documentation: fix a typo in git-apply.txt”
  1. Documentation: fix a typo in git-apply.txtMichał Kiedrowicz, Mar 3, 2011
  2. Junio C HamanoMar 3, 2011
  3. Michal KiedrowiczMar 4, 2011
  4. Eric RaibleMar 4, 2011
  5. Michal KiedrowiczMar 4, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.