Re: Confusion about diffing branches

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Theodore Tso
Date: Tuesday, August 28, 2007 - 4:49 am

On Tue, Aug 28, 2007 at 12:34:06AM -0700, Junio C Hamano wrote:

Thank you!!!


Maybe the last sentence should be omitted?  The fact that sometimes
you need to specify --root is pretty well hidden as a plumbing-level
option up until now, so what --root does is largely an impleementation
detail that the average user doesn't need to know and would probably
confuse him/her deeply anyway.  (i.e., it's needed by git-diff-tree,
but it's not needed by git-diff.)

BTW, I'm probably missing some history here, but why isn't
--root/rev->show_root_diff=1 the default?  Why do we have the
log.showroot config option; what are the circumstances when anyone
would want to set log.showroot to 0?


Thanks for adding that comment; for someone who is still trying to
understand how the revision walker infrastructure works, it will be
very helpful!

						- Ted

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Confusion about diffing branches, Junio C Hamano, (Mon Aug 27, 12:07 am)
Re: Confusion about diffing branches, Mike Hommey, (Mon Aug 27, 12:50 am)
Re: Confusion about diffing branches, Francis Moreau, (Mon Aug 27, 6:21 am)
Re: Confusion about diffing branches, Mike Hommey, (Mon Aug 27, 6:33 am)
Re: Confusion about diffing branches, Theodore Tso, (Mon Aug 27, 10:05 am)
Re: Confusion about diffing branches, Junio C Hamano, (Mon Aug 27, 10:06 am)
Re: Confusion about diffing branches, Junio C Hamano, (Mon Aug 27, 10:20 am)
Re: Confusion about diffing branches, Mike Hommey, (Mon Aug 27, 10:24 am)
Re: Confusion about diffing branches, Theodore Tso, (Mon Aug 27, 1:29 pm)
Re: Confusion about diffing branches, Shawn Bohrer, (Mon Aug 27, 7:47 pm)
Re: Confusion about diffing branches, Junio C Hamano, (Tue Aug 28, 12:34 am)
Re: Confusion about diffing branches, Theodore Tso, (Tue Aug 28, 4:49 am)
Re: Confusion about diffing branches, Junio C Hamano, (Tue Aug 28, 9:57 pm)