Code

git-count-objects: Fix a disk-space under-estimate on Cygwin
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Thu, 19 Nov 2009 18:46:24 +0000 (18:46 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Nov 2009 07:41:29 +0000 (23:41 -0800)
commit756078749f7a87bc50d4c22db18e26a09c45059d
treea9c53676930988bdb58e930ca44a47e82e5d1c19
parent78d553b7d7b269bb22ebd8b1198657c37484a3a0
git-count-objects: Fix a disk-space under-estimate on Cygwin

Cygwin has st_blocks in struct stat, but at least on NTFS, the field
counts in blocks of st_blksize bytes, not in 512-byte blocks.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile