On Sun, 22 Apr 2007, Junio C Hamano wrote: > > This shows the single "diff --git" header line without anything, > to show that the path is not stat-clean, but the contents are > unchanged, which is what is expected. Actually, I think the "good" case is the broken one. Do an "strace -f" on the two cases, and you'll see an EBADF in the case that you think is good: the missing output *is* there, it's just that you closed the file descriptor so you don't see it. So if the output you want is with the close(1) (ie with the output discarded), then you have some other bug there. 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