author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | |
Thu, 19 Nov 2009 18:46:24 +0000 (18:46 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 20 Nov 2009 07:41:29 +0000 (23:41 -0800) | ||
commit | 756078749f7a87bc50d4c22db18e26a09c45059d | |
tree | a9c53676930988bdb58e930ca44a47e82e5d1c19 | tree | snapshot |
parent | 78d553b7d7b269bb22ebd8b1198657c37484a3a0 | commit | diff |
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>
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 | diff | blob | history |