From: Jeff King Date: Mon, 2 Jul 2007 04:20:06 +0000 (-0400) Subject: git-stash: fix "no arguments" case in documentation X-Git-Tag: v1.5.3-rc0~12^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aaca4914e9074f5f5b51c8966688a75e7fe132d7;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt index 4815965ef..4dc344dfe 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