Re: bash_completion outside repo
- From
Jeff King <peff@peff.net>
- Date
- Sep 11, 2009, 15:09 UTC
- Message-ID
- <20090911150934.GB977@coredump.intra.peff.net>
- In-Reply-To
- <20090911143651.GE1033@spearce.org>
On Fri, Sep 11, 2009 at 07:36:51AM -0700, Shawn O. Pearce wrote:
Show 6 quoted lines
> > instead of just using "git config --get-regexp 'remote\..*\.url'", which > > would be slightly more efficient, and also doesn't have this bug. ;) > > F'king oversight. You are right, this should be --get-regexp. > There isn't a reason here, probably other than "I forgot about > --get-regexp when I wrote the original code".
OK. I will leave a bash-completion patch for you (or somebody else interested) as I don't use it myself.
Assuming you make such a patch, that will clear up the original issue. I wonder if we should fix "git config --list". The current semantics seem a little crazy to me, but it is a scriptable interface. I'm inclined to call this a bug, though.
-Peff