Skip to contentSkip to conversation

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

PATCH New Jeff King 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore

Jeff King

author
#0 lore raw

PATCH 1/1 git-stash: fix "no arguments" case in documentation

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

---
 Documentation/git-stash.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Documentation/git-stash.txt +2 -2
index 4815965..4dc344d 100644
@@ -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
Signature · 1 line
1.5.2.2.1452.g896f6