Be more careful about tree entry modes.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:18:48 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:18:48 +0000 (16:18 -0700)
commit42ea9cb286423c949d42ad33823a5221182f84bf
tree599757cc3e6a2bf3ab29d22246662460c1537393
parentd5a72fd622ecedaea272cd6292abb7138a49e460
Be more careful about tree entry modes.

The tree object parsing used to get the executable bit wrong,
and didn't know about symlinks. Also, fsck really wants the
full mode value so that it can verify the other bits for sanity,
so save it all in struct tree_entry.
fsck-cache.c
tree.c
tree.h