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

Re: [PATCH] stash: git stash create and git stash store added to git stash usage synopsys

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 12, 2015, 22:54 UTC
Message-ID
<xmqqpp9epwot.fsf@gitster.dls.corp.google.com>
In-Reply-To
<xmqqy4p59s1q.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 26 quoted lines
> Scott Schmit <i.grok@comcast.net> writes:
>>
>> Considering the man page says create & store are intended for scripts
>> and "probably not the command you want to use", why would we want it in
>> the synopsis?
>
> With the understanding that these are only for scripters, I think we
> can agree that we do want to describe them in the manual pages, and
> we do not want them in the completion.
>
> I feel "git stash -h" output is on the borderline, and can be argued
> both ways:
>
>  - When you script and are not clear how a command you wanted to use
>    in your script is to be used, it wouldn't be a crime to ask the
>    short "git stash -h" form (instead of the full manual page "git
>    stash --help") to remind how the command line ought to be
>    spelled.
>
>  - When you are not interested in script at all, from the command
>    line you may want to be reminded how to spell the subcommand with
>    "git stash -h" form.  Having "store" listed, which will never be
>    what you want in this scenario, will be confusing.  You want to
>    see "save".
>
> So, I dunno.

As I haven't heard anything after this, I am inclined to drop this topic that has been sitting on my Undecided pile.

    * ak/stash-store-create-help (2015-01-13) 1 commit
     - stash: show "create" and "store" subcommands in usage-help
     Undecided.
Please speak up if somebody new feels strongly otherwise [*1*].
Thanks.
[Footnote]

*1* I already know Scott Schmit was against it, and Alexander Kuleshov as the original author was for it ;-)

Previous: Junio C Hamano
Message 4 of 4 in “stash: git stash create and git stash store added to git stash usage synopsys”
  1. stash: git stash create and git stash store added to git stash usage synopsysAlexander Kuleshov, Jan 13, 2015
  2. Scott SchmitJan 14, 2015
  3. Junio C HamanoJan 14, 2015
  4. Junio C HamanoFeb 12, 2015

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.