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

Re: [PATCH] git-rev-list(1): group options; reformat; document more options

From
Junio C Hamano <junkio@cox.net>
Date
Sep 1, 2006, 00:06 UTC
Message-ID
<7vsljc78m9.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0608311611440.27779@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 16 quoted lines
> On Fri, 1 Sep 2006, Jonas Fonseca wrote:
>> Linus Torvalds <torvalds@osdl.org> wrote Thu, Aug 31, 2006:
>> > 
>> > Umm? You should get a "usage" error, no?
>> 
>> Yes, ok, they do not seem to make sense for git-rev-list, however if you
>> pass either to git-log, the output seems to make room for a diff, adding
>> one extra newline, but without appending any diff.
>
> Ahh. I think that a "-r" without any other request for patches (or 
> "--name-status" or similar) should probably imply "--raw". At least that 
> was how it historically worked..
>
> Anyway, _if_ it ever worked (and I think it did, but I'm way too lazy to 
> bother checking), this may have been broken by the extensive diff option 
> cleanups by Timo in June. Timo? Junio?

I think it did too. I am kind of surprised that nobody noticed and t4013 test (which was done specifically to catch potential behaviour change by Timo's patch) did not check for this particular case.

Previous: Linus TorvaldsNext: Jonas Fonseca
Message 5 of 6 in “git-rev-list(1): group options; reformat; document more options”
  1. git-rev-list(1): group options; reformat; document more optionsJonas Fonseca, Aug 31, 2006
  2. Linus TorvaldsAug 31, 2006
  3. Jonas FonsecaAug 31, 2006
  4. Linus TorvaldsAug 31, 2006
  5. Junio C HamanoSep 1, 2006
  6. Jonas FonsecaSep 1, 2006

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.