Hi, On Wed, 13 Jun 2007, Josef Weidendorfer wrote: > opt->diff is set to 1 in setup_revisions() whenever > diff_opt_parse() parses an option. And "-z" is > parsed in diff_opt_parse(). > > In cd2bdc, Linus write in the commit log > > - make setup_revision set a flag (revs->diff) if the diff-related > arguments were used. This allows "git log" to decide whether it wants > to show diffs or not. > > So why is "-z" regarded as tree-diff related, leading to calculating diffs? Because it changes the behaviour of a diff. As far as I can tell, the line termination does not have any effect on any output _except_ the diff output. So, I should have realized earlier that "git-log -z" _without_ anything in the way of "-p", "--stat" or friends does not make sense at all. Ciao, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html