Skip to content

Commit

Permalink
Correct output of git-count-objects.
Browse files Browse the repository at this point in the history
The non-verbose output was not changed in fdb2a2a (compat: introduce
on_disk_bytes(), 2008-08-18) which caused git-count-objects to claim 512
times too much space used for loose objects.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Mikael Magnusson authored and Junio C Hamano committed Sep 8, 2008
1 parent e705d75 commit bfd083b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-count-objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ int cmd_count_objects(int argc, const char **argv, const char *prefix)
}
else
printf("%lu objects, %lu kilobytes\n",
loose, loose_size / 2);
loose, loose_size / 1024);
return 0;
}

0 comments on commit bfd083b

Please sign in to comment.