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

Re: [PATCH] bash completion: allow git stash store options completion

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Jan 14, 2015, 19:03 UTC
Message-ID
<20150114190345.GC32115@vauxhall.crustytoothpaste.net>
In-Reply-To
<xmqq7fwqed7b.fsf@gitster.dls.corp.google.com>
On Tue, Jan 13, 2015 at 10:40:40AM -0800, Junio C Hamano wrote:
Show 13 quoted lines
>Alexander Kuleshov <kuleshovmail@gmail.com> writes:
>
>> This patch adds bash completion for git stash 'store' subcommand
>> which apperead at bd514cad (stash: introduce 'git stash store', 18 Jun 2013)
>>
>> Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
>> ---
>
>Hmph.  The "create" and "store" subcommands are not end-user facing;
>they are meant to be used in scripts.  I am not sure if we want to
>complete them in the first place.  I know "create" already is in the
>list of completion candidates, but I wonder if adding "store" is
>making things worse.

For what it's worth, I'll often sketch out a script at the command line before putting it in a file (either because I realize I'll need to do the same thing again or I want to share it with others), so I think this might be a useful addition.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 4 in “bash completion: allow git stash store options completion”
  1. bash completion: allow git stash store options completionAlexander Kuleshov, Jan 13, 2015
  2. Junio C HamanoJan 13, 2015
  3. brian m. carlsonJan 14, 2015
  4. Junio C HamanoJan 14, 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.