Skip to content

Commit 57d8f4b

Browse files
dschogitster
authored andcommitted
doc(stash): clarify the description of save
The original phrasing of this paragraph made at least one person stumble over the word "from" (thinking that it was a typo and "from" was intended), and other readers chimed in, agreeing that it was confusing: https://public-inbox.org/git/0102016b8d597569-c1f6cfdc-cb45-4428-8737-cb1bc30655d8-000000@eu-west-1.amazonses.com/#t Let's rewrite that paragraph for clarity. Inspired-by-a-patch-by: Catalin Criste <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5fa0f52 commit 57d8f4b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/git-stash.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ The `--patch` option implies `--keep-index`. You can use
8787
save [-p|--patch] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
8888

8989
This option is deprecated in favour of 'git stash push'. It
90-
differs from "stash push" in that it cannot take pathspecs,
91-
and any non-option arguments form the message.
90+
differs from "stash push" in that it cannot take pathspecs.
91+
Instead, all non-option arguments are concatenated to form the stash
92+
message.
9293

9394
list [<options>]::
9495

0 commit comments

Comments
 (0)