]> git.ipfire.org Git - thirdparty/git.git/commit - builtin-gc.c
gc: --prune prunes unreferenced objects.
authorJunio C Hamano <gitster@pobox.com>
Tue, 6 Nov 2007 00:39:00 +0000 (16:39 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Nov 2007 00:39:00 +0000 (16:39 -0800)
commit0aab4abdd4e6461d61ce6cf1392e1d31c4d1573a
treebf109010e1e85f18af718bdc7bf9baba96f4f574
parent9f12bec4386fc96e5b617268822cbb75e4c76101
gc: --prune prunes unreferenced objects.

Brandon Casey correctly points out that we repack with -A without --prune
and with -a with --prune, so it is not just unreferenced loose objects
that are pruned away when the option is given.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-gc.c