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

Re: What's cooking in git.git (Jun 2013, #07; Thu, 20)

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 21, 2013, 20:31 UTC
Message-ID
<7vvc57kxxt.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CALkWK0kDDRicX9VmcRgG9daXVi6W-zGNt=x6ruy7X5MhrHOZbQ@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 13 quoted lines
> Junio C Hamano wrote:
>>> - rr/describe-contains-all at  $gmane/228278.
>>
>> This may overlap with a topic in flight (but I didn't look at it).
>
> Let me know if I can do anything to make it easier for you.  I'm quite
> excited about this one.
>
>>> - rr/mixed-case-aliases at $gmane/227959.
>>
>> Personally, not just uninterested but moderately against.
>
> Okay, but I'd like an explanation.
Because the implementation is too ugly.

The damage to the more generic config parser codepath is a real downside and the benefit from the little "feature" does not seem to justify it.

I would however can imagine an alternative implementation which might be more palatable. It may go like this:

	[alias "lgF"]
		command = "log --oneline --boundary --first-parent"
                help = "show the first parent chain, one line per commit"
		completion = log

so that not just alias.c code can take notice of alias.lgF.command to expand it, but we can later extend it to help "git help lgF" and bash/zsh completion (i.e. they would learn "lgF parameter would complete in a way similar to 'log'" from alias.lgF.completion).

Previous: Ramkumar RamachandraNext: Ramkumar Ramachandra
Message 10 of 12 in “What's cooking in git.git (Jun 2013, #07; Thu, 20)”
  1. Junio C HamanoJun 21, 2013
  2. Ramkumar RamachandraJun 21, 2013
  3. Junio C HamanoJun 21, 2013
  4. Ramkumar RamachandraJun 21, 2013
  5. Junio C HamanoJun 21, 2013
  6. Ramkumar RamachandraJun 21, 2013
  7. Antoine PelisseJun 21, 2013
  8. Junio C HamanoJun 21, 2013
  9. Ramkumar RamachandraJun 21, 2013
  10. Junio C HamanoJun 21, 2013
  11. Ramkumar RamachandraJun 22, 2013
  12. Thomas RastJun 23, 2013

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.