X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-prune-script.txt;h=0f76e8fd0d3c4a3413e49710cf7f82448f10eec2;hb=3459c2c433ac46eac596810d2ef2c3d4ef949852;hp=537b7905b69b8c2f0d7d11bdaa348339f1d5b3d9;hpb=2cf565c53c88c557eedd7e5629437b3c6fe74329;p=git.git diff --git a/Documentation/git-prune-script.txt b/Documentation/git-prune-script.txt index 537b7905..0f76e8fd 100644 --- a/Documentation/git-prune-script.txt +++ b/Documentation/git-prune-script.txt @@ -1,6 +1,6 @@ git-prune-script(1) =================== -v0.1, May 2005 +v0.99.5, Aug 2005 NAME ---- @@ -9,13 +9,24 @@ git-prune-script - Prunes all unreachable objects from the object database SYNOPSIS -------- -'git-prune-script' +'git-prune-script' [-n] DESCRIPTION ----------- -This runs "git-fsck-cache --unreachable" program using the heads specified -on the command line (or `.git/refs/heads/\*` and `.git/refs/tags/\*` if none is -specified), and prunes all unreachable objects from the object database. + +This runs `git-fsck-cache --unreachable` using the heads +specified on the command line (or `$GIT_DIR/refs/heads/\*` and +`$GIT_DIR/refs/tags/\*` if none is specified), and prunes all +unreachable objects from the object database. In addition, it +prunes the unpacked objects that are also found in packs by +running `git prune-packed`. + +OPTIONS +------- + +-n:: + Do not remove anything; just report what it would + remove. Author