diff options
author | Junio C Hamano <junkio@cox.net> | 2006-04-27 15:37:18 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-27 21:35:27 -0700 |
commit | c74320872b445104fe5c265e60785d9d26d94cc5 (patch) | |
tree | d3ba11f96a423221ddf675bd0ead9c7bd9014b35 /git.c | |
parent | 9a8b6a0a9d4de3d9c1005b872b9b57a213d3e9f8 (diff) | |
download | git-c74320872b445104fe5c265e60785d9d26d94cc5.tar.gz git-c74320872b445104fe5c265e60785d9d26d94cc5.tar.xz |
built-in count-objects.
Also it learned to do -v (verbose) to report:
- number of loose objects
- disk occupied by loose objects
- number of objects in local packs
- number of loose objects that are also in pack
- unrecognised garbage in .git/objects/??/.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -46,6 +46,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp) { "log", cmd_log }, { "whatchanged", cmd_whatchanged }, { "show", cmd_show }, + { "count-objects", cmd_count_objects }, }; int i; |