author | Junio C Hamano <junkio@cox.net> | |
Thu, 30 Mar 2006 07:00:42 +0000 (23:00 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 30 Mar 2006 07:53:05 +0000 (23:53 -0800) | ||
commit | e464f4c3119b04712ab87329f3dd4d4f21b0a8a7 | |
tree | 29fabda26b9d057d6137fbea57a15a09da3b53af | tree | snapshot |
parent | 0c8b106b020421c346532351af36028bfdda4c37 | commit | diff |
assume unchanged git: diff-index fix.
When the executable bit is untrustworthy and when we are
comparing the tree with the working tree, we tried to reuse the
mode bits recorded in the index incorrectly (the computation was
bogus on little endian architectures). Just use mode from index
when it is a regular file.
Signed-off-by: Junio C Hamano <junkio@cox.net>
When the executable bit is untrustworthy and when we are
comparing the tree with the working tree, we tried to reuse the
mode bits recorded in the index incorrectly (the computation was
bogus on little endian architectures). Just use mode from index
when it is a regular file.
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff-index.c | diff | blob | history |