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
Jonas Fonseca <fonseca@diku.dk>
Date
Sep 1, 2006, 20:33 UTC
Message-ID
<20060901203348.GA27515@diku.dk>
In-Reply-To
<7vsljc78m9.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote Thu, Aug 31, 2006:
Show 12 quoted lines
> Linus Torvalds <torvalds@osdl.org> writes:
> 
> > On Fri, 1 Sep 2006, Jonas Fonseca wrote:
> >
> >> [The "-r" and "-t" option] 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..
:set paste
commit 17985627455901b6ae3a471b67d46239463cebb5
Author: Timo Hirvonen <tihirvon@gmail.com>
Date:   Tue Jun 27 16:27:51 2006 +0300
    log --raw: Don't descend into subdirectories by default
    Only do so when -r is given.
Show 8 quoted lines
> > 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.
commit 0e677e1a6b0d1c0e848ed19d18dda1c3c797c75e
Author: Timo Hirvonen <tihirvon@gmail.com>
Date:   Sat Jun 24 20:25:08 2006 +0300
    DIFF_FORMAT_RAW is not default anymore
    diff_setup() used to initialize output_format to DIFF_FORMAT_RAW.  Now
    the default is 0 (no output) so don't compare against DIFF_FORMAT_RAW to
    see if any diff format command line flags were given.
:set nopaste
So they are working as intended. I'll look into updating the patch.
BTW, --author=timo made this very easy. ;)
-- 
Jonas Fonseca

-- 
VGER BF report: U 0.5
Previous: Junio C Hamano
Message 6 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.