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

[PATCH 1/1] git-stash.txt: correct "git stash" behavior with no arguments

From
TOTakahito Ogawa <aiueogawa217@gmail.com>
Date
Oct 11, 2017, 18:37 UTC
Message-ID
<20171011183718.2404-1-aiueogawa217@gmail.com>
In-Reply-To
<n>

"git stash" behavior without any arguments was changed in 1ada5020b ("stash: use stash_push for no verb form", 2017-02-28). This is equivalent to "git stash push" but documents says "git stash save".

Correct it.
Signed-off-by: Takahito Ogawa <aiueogawa217@gmail.com>
---
 Documentation/git-stash.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt
index 00f95fee1..63642c145 100644
--- a/Documentation/git-stash.txt
+++ b/Documentation/git-stash.txt
@@ -33,7 +33,7 @@ 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`.
-Calling `git stash` without any arguments is equivalent to `git stash save`.
+Calling `git stash` without any arguments is equivalent to `git stash push`.
 A stash is by default listed as "WIP on 'branchname' ...", but
 you can give a more descriptive message on the command line when
 you create one.
-- 
2.13.1
Previous: Takahito OgawaNext: Thomas Gummerer
Message 5 of 8 in “Fix a typo in line 117 of git-gui/lib/sshkeys.tcl.”
  1. Fix a typo in line 117 of git-gui/lib/sshkeys.tcl.Dejan Ribič, Oct 30, 2011
  2. Erik Faye-LundOct 30, 2011
  3. Pat ThoytsOct 31, 2011
  4. 1/1 git-stash.txt: correct "git stash" behavior with no argumentsTakahito Ogawa, Oct 11, 2017
  5. 1/1 git-stash.txt: correct "git stash" behavior with no argumentsTakahito Ogawa, Oct 11, 2017
  6. Thomas GummererOct 11, 2017
  7. Thomas GummererOct 11, 2017
  8. 1/1 git-stash.txt: correct "git stash" behavior with no argumentsTakahito Ogawa, Oct 11, 2017

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.