fix compile error when USE_NSEC is defined
commit8cd6192e16d8bf590afa1105c840b72106d72941
authorKjetil Barvik <barvik@broadpark.no>
Thu, 19 Feb 2009 20:08:28 +0000 (19 21:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Feb 2009 05:27:14 +0000 (19 21:27 -0800)
tree0912da2a2553727b44e8118febe04032ef5da13e
parent36419c8ee41cecadf67dfeab2808ff2e5025ca52
fix compile error when USE_NSEC is defined

'struct cache' does not have a 'usec' member, but a 'unsigned int
nsec' member.  Simmilar 'struct stat' does not have a 'st_mtim.usec'
member, and we should instead use 'st_mtim.tv_nsec'.

Signed-off-by: Kjetil Barvik <barvik@broadpark.no>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch-pack.c