On Wed, 14 Mar 2007, Johannes Schindelin wrote: > > I am not convinced that this exit code (even if expected by experience) > makes sense. A diff should _only_ fail if anything goes _wrong_, not if > the files are _different. That is what cmp is for, no? Well, "cmp" doesn't do a sane job for recursive diffs. And Alex is certainly correct in stating that people historically expect and use the exit status of a regular "diff". I don't think there is any real down-side to making "git diff" have the same semantics, especially since the current exit-status isn't exactly useful. 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