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

Re: [PATCH 1/2] stash: fix USAGE text

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 9, 2017, 01:48 UTC
Message-ID
<xmqqpojxypdr.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20170103155356.11213-1-marc.strapetz@syntevo.com>
Marc Strapetz <marc.strapetz@syntevo.com> writes:
> Add missing usage description for stash subcommands
> 'create' and 'store'.

I think we didn't add them to usage description when we added them because these two are not end-user facing commands but for script writers (who do not use "$ git stash -h <ENTER>" to learn how to use).

I dunno.
Show 20 quoted lines
> Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
> ---
>  git-stash.sh | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/git-stash.sh b/git-stash.sh
> index 10c284d1a..c6b9db694 100755
> --- a/git-stash.sh
> +++ b/git-stash.sh
> @@ -9,7 +9,9 @@ USAGE="list [<options>]
>     or: $dashless branch <branchname> [<stash>]
>     or: $dashless [save [--patch] [-k|--[no-]keep-index] [-q|--quiet]
>  		       [-u|--include-untracked] [-a|--all] [<message>]]
> -   or: $dashless clear"
> +   or: $dashless clear
> +   or: $dashless create [<message>]
> +   or: $dashless store [-m|--message <message>] [-q|--quiet] <commit>"
>  
>  SUBDIRECTORY_OK=Yes
>  OPTIONS_SPEC=
Previous: Marc Strapetz
Message 3 of 3 in “stash: fix USAGE text”
  1. 1/2 stash: fix USAGE textMarc Strapetz, Jan 3, 2017
  2. 2/2 stash: --[no-]include-untracked option for createMarc Strapetz, Jan 3, 2017
  3. Junio C HamanoJan 9, 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.