commit | 43342941dd736fe06fe607a1594422cc8ba461a1 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <junkio@cox.net> | Sun Apr 22 23:56:22 2007 -0700 |
committer | Junio C Hamano <junkio@cox.net> | Tue Apr 24 00:08:49 2007 -0700 |
tree | 41a039911225fcfad05a4d3e672375865d27b835 | |
parent | 01618a3ab131548582f4e2371b9b5e7328f61e4a [diff] [blame] |
Diff between two blobs should take mode changes into account now. Signed-off-by: Junio C Hamano <junkio@cox.net>
diff --git a/builtin-diff.c b/builtin-diff.c index 4ba4d18..7f367b6 100644 --- a/builtin-diff.c +++ b/builtin-diff.c
@@ -32,7 +32,7 @@ struct diff_filespec *one, *two; if (!is_null_sha1(old_sha1) && !is_null_sha1(new_sha1) && - !hashcmp(old_sha1, new_sha1)) + !hashcmp(old_sha1, new_sha1) && (old_mode == new_mode)) return; if (opt->reverse_diff) {