Re: Clean up "git log" format with DIFF_FORMAT_NO_OUTPUT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, 8 Oct 2007, Linus Torvalds wrote:
> 
> This fixes an unnecessary empty line that we add to the log message when 
> we generate diffs, but don't actually end up printing any due to having 
> DIFF_FORMAT_NO_OUTPUT set.

Btw, this seems to break a few tests, where the test assumed the extra 
newlines at the end of commands like "git show -s" (which also triggered 
the extra unnecessary padding between commit text and the suppressed 
diff).

I think the patch is correct, but the tests obviously would need fixing 
before this patch should be applied.

		Linus
-
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux