From: Lukas Sandström Date: Fri, 18 Nov 2005 22:20:15 +0000 (+0100) Subject: Document the "ignore objects" feature of git-pack-redundant X-Git-Tag: v0.99.9k~1^2~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9a888b758f48d88d1e83c9765e33d4452710d5a5;p=git.git Document the "ignore objects" feature of git-pack-redundant Signed-off-by: Lukas Sandström Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-pack-redundant.txt b/Documentation/git-pack-redundant.txt index 2e23cbc0..9fe86aef 100644 --- a/Documentation/git-pack-redundant.txt +++ b/Documentation/git-pack-redundant.txt @@ -16,6 +16,14 @@ This program computes which packs in your repository are redundant. The output is suitable for piping to 'xargs rm' if you are in the root of the repository. +git-pack-redundant accepts a list of objects on standard input. Any objects +given will be ignored when checking which packs are required. This makes the +following command useful when wanting to remove packs which contain unreachable +objects. + +git-fsck-objects --full --unreachable | cut -d ' ' -f3 | \ +git-pack-redundant --all | xargs rm + OPTIONS -------