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 /builtin.h | |
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 'builtin.h')
-rw-r--r-- | builtin.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -19,5 +19,6 @@ extern int cmd_version(int argc, const char **argv, char **envp); extern int cmd_whatchanged(int argc, const char **argv, char **envp); extern int cmd_show(int argc, const char **argv, char **envp); extern int cmd_log(int argc, const char **argv, char **envp); +extern int cmd_count_objects(int argc, const char **argv, char **envp); #endif |