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

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
Previous: Stephen BoydNext: Stephen Boyd
Message 10 of 15 in “completion: fix alias listings with newlines”
  1. 1/3 completion: fix alias listings with newlinesStephen Boyd, Oct 7, 2009
  2. 2/3 completion: update am, commit, and logStephen Boyd, Oct 7, 2009
  3. 3/3 completion: add dirstat and friends to diff optionsStephen Boyd, Oct 7, 2009
  4. Junio C HamanoOct 7, 2009
  5. Junio C HamanoOct 7, 2009
  6. Johannes SixtOct 7, 2009
  7. Stephen BoydOct 7, 2009
  8. Shawn O. PearceOct 8, 2009
  9. Stephen BoydOct 8, 2009
  10. Johannes SixtOct 8, 2009
  11. Stephen BoydOct 8, 2009
  12. Johannes SixtOct 8, 2009
  13. Junio C HamanoOct 7, 2009
  14. Shawn O. PearceOct 8, 2009
  15. Stephen BoydOct 8, 2009

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.