Re: [PATCH 1/3] completion: fix alias listings with newlines
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Oct 8, 2009, 07:54 UTC
- Message-ID
- <4ACD9ABC.4070809@viscovery.net>
- In-Reply-To
- <4ACD961D.9080401@gmail.com>
Stephen Boyd schrieb:
Show 8 quoted lines
> Shawn O. Pearce wrote:
>> Or a format string with a language based escape like for-each-ref
>> supports? Might make it easier to use git config in scripts if we
>> can write things like:
>>
>> git config --format='$data{%(key)}=%(value);' --perl
>
> This sounds reasonable, but also like more work ;-)OTOH, you can simply revert the hunk from 518ef8f (completion: Replace config --list with --get-regexp, 2009-09-11) that applies here, or even only reinstate the case statement in the loop body without changing anything else.
-- Hannes