summaryrefslogtreecommitdiff
path: root/exec_cmd.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-01-20 01:13:51 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-01-22 03:33:22 (GMT)
commit35a730f01c6caba93d452fa938e7d93ffcc4cf25 (patch)
treeceeeafb38d09feb7bd0230fe85ac34c438ad0a33 /exec_cmd.c
parentbdc37f5a817543fc5eaf16dd6f30dd7b821adc70 (diff)
downloadgit-35a730f01c6caba93d452fa938e7d93ffcc4cf25.zip
git-35a730f01c6caba93d452fa938e7d93ffcc4cf25.tar.gz
git-35a730f01c6caba93d452fa938e7d93ffcc4cf25.tar.bz2
fsck-objects: support platforms without d_ino in struct dirent.
The d_ino field is only used for performance reasons in fsck-objects. On a typical filesystem, i-number tends to have a strong correlation with where the actual bits sit on the disk platter, and we sort the entries to allow us scan things that ought to be close together together. If the platform lacks support for it, it is not a big deal. Just do not use d_ino for sorting, and scan them unsorted. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'exec_cmd.c')
0 files changed, 0 insertions, 0 deletions