summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8a90438)
raw | patch | inline | side by side (parent: 8a90438)
author | Yann Dirson <ydirson@altern.org> | |
Sun, 24 Oct 2010 21:03:10 +0000 (23:03 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 25 Oct 2010 07:21:56 +0000 (00:21 -0700) |
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c | patch | blob | history |
index 0e2e872e0bb6b82d08e4dc6415afe875ccccc367..340d878f02b0daa3b26cf5eb3bf71bdda1437ce2 100644 (file)
--- a/diff.c
+++ b/diff.c
if ((DIFF_FILE_VALID(p->one) && S_ISDIR(p->one->mode)) ||
(DIFF_FILE_VALID(p->two) && S_ISDIR(p->two->mode)))
- return; /* no tree diffs in patch format */
+ return; /* no useful stat for tree diffs */
run_diffstat(p, o, diffstat);
}
if ((DIFF_FILE_VALID(p->one) && S_ISDIR(p->one->mode)) ||
(DIFF_FILE_VALID(p->two) && S_ISDIR(p->two->mode)))
- return; /* no tree diffs in patch format */
+ return; /* nothing to check in tree diffs */
run_checkdiff(p, o);
}