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

[PATCH] git-stash: fix "no arguments" case in documentation

From
Jeff King <peff@peff.net>
Date
Jul 2, 2007, 04:20 UTC
Message-ID
<20070702042006.GA29384@coredump.intra.peff.net>

Commit 9488e875 changed this from 'save' to 'list', but missed this spot in the documentation.

Signed-off-by: Jeff King <peff@peff.net>
---
 Documentation/git-stash.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt
index 4815965..4dc344d 100644
--- a/Documentation/git-stash.txt
+++ b/Documentation/git-stash.txt
@@ -21,8 +21,8 @@ and reverts the working directory to match the `HEAD` commit.
 The modifications stashed away by this command can be listed with
 `git-stash list`, inspected with `git-stash show`, and restored
 (potentially on top of a different commit) with `git-stash apply`.
-The default operation when called without options is to save the
-changes away.
+Calling git-stash without any arguments is equivalent to `git-stash
+list`.
 
 The latest stash you created is stored in `$GIT_DIR/refs/stash`; older
 stashes are found in the reflog of this reference and can be named using
-- 
1.5.2.2.1452.g896f6
Message 1 of 1 in “git-stash: fix "no arguments" case in documentation”
  1. git-stash: fix "no arguments" case in documentationJeff King, Jul 2, 2007

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.