summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-03-29 23:00:42 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-03-29 23:53:05 -0800
commite464f4c3119b04712ab87329f3dd4d4f21b0a8a7 (patch)
tree29fabda26b9d057d6137fbea57a15a09da3b53af /diff.h
parentrevision.c "..B" syntax: constness fix (diff)
downloadtgif-e464f4c3119b04712ab87329f3dd4d4f21b0a8a7.tar.xz
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>
Diffstat (limited to 'diff.h')
0 files changed, 0 insertions, 0 deletions