summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-27 22:37:18 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-28 04:35:27 (GMT)
commitc74320872b445104fe5c265e60785d9d26d94cc5 (patch)
treed3ba11f96a423221ddf675bd0ead9c7bd9014b35 /git.c
parent9a8b6a0a9d4de3d9c1005b872b9b57a213d3e9f8 (diff)
downloadgit-c74320872b445104fe5c265e60785d9d26d94cc5.zip
git-c74320872b445104fe5c265e60785d9d26d94cc5.tar.gz
git-c74320872b445104fe5c265e60785d9d26d94cc5.tar.bz2
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index 01b7e28..00fb399 100644
--- a/git.c
+++ b/git.c
@@ -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;