summaryrefslogtreecommitdiff
path: root/Documentation/git-stash.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2007-07-02 00:20:06 -0400
committerJunio C Hamano <gitster@pobox.com>2007-07-01 21:38:05 -0700
commitaaca4914e9074f5f5b51c8966688a75e7fe132d7 (patch)
treebdfa0407f9d00fb6ca8b39df92622c04a8cd105a /Documentation/git-stash.txt
parent9488e875862de4e3c9b022ecd9d0845bc28d1996 (diff)
downloadgit-aaca4914e9074f5f5b51c8966688a75e7fe132d7.tar.gz
git-stash: fix "no arguments" case in documentation
Commit 9488e875 changed this from 'save' to 'list', but missed this spot in the documentation. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-stash.txt')
-rw-r--r--Documentation/git-stash.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt
index 4815965efd..4dc344dfe7 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