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

Re: [BUG ?] completion of stash name with git stash

From
Thomas Rast <trast@student.ethz.ch>
Date
Jan 19, 2012, 18:14 UTC
Message-ID
<87obtzlfuv.fsf@thomas.inf.ethz.ch>
In-Reply-To
<loom.20120119T172954-563@post.gmane.org>
Mathieu CLAVEL <math.clavel@gmail.com> writes:
Show 14 quoted lines
> Thomas Rast <trast <at> student.ethz.ch> writes:
>
>> This works for me using git completion as shipped with v1.7.9-rc2 and
>> bash 4.2.10.  Double-tabbing at 'git stash drop ' prints a list of
>> stashes as expected.  Which bash version are you using?
>
>
> $ bash --version
> GNU bash, version 3.1.0(1)-release (i686-pc-msys)
> Copyright (C) 2005 Free Software Foundation, Inc.
>
> It's the version ship with the last version of msysGit.
> I'm not sure I can update bash on Windows without any risk to break something.
> So, do you think it's coming from the bash version ?

Indeed, I compiled bash 3.1 and with that (and otherwise the same bashrc etc.) I can reproduce. Ditto for 4.0-rc1, which was the newest version in the repository where I found the bash source[1], so I couldn't bisect. Perhaps if you can hunt down something newer you could try to find the version where it starts working.

[1] git://gitorious.org/bash/bash.git
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Mathieu CLAVELNext: Mathieu CLAVEL
Message 4 of 5 in “[BUG ?] completion of stash name with git stash”
  1. Mathieu CLAVELJan 19, 2012
  2. Thomas RastJan 19, 2012
  3. Mathieu CLAVELJan 19, 2012
  4. Thomas RastJan 19, 2012
  5. Mathieu CLAVELJan 23, 2012

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.