threads / patch / 8799

patchgit-stash: fix "no arguments" case in documentation

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

## tl;dr

One message between Jul 2, 2007 and Jul 2, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Jeff King· Jul 2, 2007, 04:20 UTC · lore

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(-)
Show changes to Documentation/git-stash.txt +2 −2
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

← back to recent threads