Skip to content

Commit

Permalink
Documentation/git-prune.txt: document unpacked logic
Browse files Browse the repository at this point in the history
Clarifies the git-prune man page, documenting that it only
prunes unpacked objects.

Signed-off-by: Chris Frey <cdfrey@foursquare.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Chris Frey authored and Junio C Hamano committed May 15, 2008
1 parent c7ea453 commit 58949bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Documentation/git-prune.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ git-prune. See the section "NOTES", below.

This runs `git-fsck --unreachable` using all the refs
available in `$GIT_DIR/refs`, optionally with additional set of
objects specified on the command line, and prunes all
objects specified on the command line, and prunes all unpacked
objects unreachable from any of these head objects from the object database.
In addition, it
prunes the unpacked objects that are also found in packs by
running `git prune-packed`.

Note that unreachable, packed objects will remain. If this is
not desired, see linkgit:git-repack[1].

OPTIONS
-------

Expand Down

0 comments on commit 58949bb

Please sign in to comment.