Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1 | git-count-objects(1) |
| 2 | ==================== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 6 | git-count-objects - Count unpacked number of objects and their disk consumption |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
Junio C Hamano | fce7c7e | 2008-07-02 03:06:38 | [diff] [blame] | 10 | 'git count-objects' [-v] |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 11 | |
| 12 | DESCRIPTION |
| 13 | ----------- |
| 14 | This counts the number of unpacked object files and disk space consumed by |
| 15 | them, to help you decide when it is a good time to repack. |
| 16 | |
Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 17 | |
| 18 | OPTIONS |
| 19 | ------- |
| 20 | -v:: |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 21 | --verbose:: |
Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 22 | In addition to the number of loose objects and disk |
| 23 | space consumed, it reports the number of in-pack |
Junio C Hamano | 3f2f6e5 | 2008-08-21 10:34:22 | [diff] [blame] | 24 | objects, number of packs, disk space consumed by those packs, |
| 25 | and number of objects that can be removed by running |
| 26 | `git prune-packed`. |
Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 27 | |
| 28 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 29 | Author |
| 30 | ------ |
Junio C Hamano | 0868a30 | 2008-07-22 09:20:44 | [diff] [blame] | 31 | Written by Junio C Hamano <gitster@pobox.com> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 32 | |
| 33 | Documentation |
| 34 | -------------- |
| 35 | Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>. |
| 36 | |
| 37 | GIT |
| 38 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 39 | Part of the linkgit:git[1] suite |