@matheusbsbs / matheus-bagliano / commits / 58949bb18a
Fork 0

Documentation/git-prune.txt: document unpacked logic

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>

Chris Frey committed May 14, 2008 at 19:22 UTC 58949bb18a1610d109e64e997c41696e0dfe97c3
1 file changed +4 -1
Documentation/git-prune.txt
+4 -1
@@ -18,12 +18,15 @@ git-prune. See the section "NOTES", below.
18
19 This runs `git-fsck --unreachable` using all the refs
20 available in `$GIT_DIR/refs`, optionally with additional set of
21 -objects specified on the command line, and prunes all
21 +objects specified on the command line, and prunes all unpacked
22 objects unreachable from any of these head objects from the object database.
23 In addition, it
24 prunes the unpacked objects that are also found in packs by
25 running `git prune-packed`.
26
27 +Note that unreachable, packed objects will remain. If this is
28 +not desired, see linkgit:git-repack[1].
29 +
30 OPTIONS
31 -------
32