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

Re: [PATCH] git-diff-*: Allow "--name-only -z" as alias for "--name-only-z"

From
Junio C Hamano <junkio@cox.net>
Date
Jul 15, 2005, 05:46 UTC
Message-ID
<7vu0iwy62h.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.58.0507142205580.19183@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 10 quoted lines
> On Thu, 14 Jul 2005, Junio C Hamano wrote:
>> 
>> That said, I have been hating that diff options parsing for
>> quite a while, and I've been thinking about cleaning it up along
>> the lines I'll outline here, but have not done anything about
>> it.  Care to help me out?
>
> I didn't do what you suggested, but I _did_ split the "format" up into 
> "format + line_termination", which in my opinion cleaned up part of it a 
> _lot_.

Agreed 100%. Regardless of the further cleanup I suggested, what you did was something I should have done in the first place. Thanks for the cleanup.

Previous: Linus Torvalds
Message 7 of 7 in “git-diff-*: Allow "--name-only -z" as alias for "--name-only-z"”
  1. git-diff-*: Allow "--name-only -z" as alias for "--name-only-z"Matthias Urlichs, Jul 14, 2005
  2. Junio C HamanoJul 14, 2005
  3. Matthias UrlichsJul 14, 2005
  4. Junio C HamanoJul 14, 2005
  5. Matthias UrlichsJul 14, 2005
  6. Linus TorvaldsJul 15, 2005
  7. Junio C HamanoJul 15, 2005

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.