Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-28 02:37:18 +0400
committerJunio C Hamano <junkio@cox.net>2006-04-28 08:35:27 +0400
commitc74320872b445104fe5c265e60785d9d26d94cc5 (patch)
treed3ba11f96a423221ddf675bd0ead9c7bd9014b35 /git.c
parent9a8b6a0a9d4de3d9c1005b872b9b57a213d3e9f8 (diff)
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 01b7e28b8c..00fb399725 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;