summaryrefslogtreecommitdiff
path: root/Documentation/git-prune.txt
diff options
context:
space:
mode:
authorChris Frey <cdfrey@foursquare.net>2008-05-14 23:22:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-05-15 08:30:25 (GMT)
commit58949bb18a1610d109e64e997c41696e0dfe97c3 (patch)
tree2dd5cb6395e15d837894127fd0cae2438952fb57 /Documentation/git-prune.txt
parentc7ea453618e41e05a06f05e3ab63d555d0ddd7d9 (diff)
downloadgit-58949bb18a1610d109e64e997c41696e0dfe97c3.zip
git-58949bb18a1610d109e64e997c41696e0dfe97c3.tar.gz
git-58949bb18a1610d109e64e997c41696e0dfe97c3.tar.bz2
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>
Diffstat (limited to 'Documentation/git-prune.txt')
-rw-r--r--Documentation/git-prune.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-prune.txt b/Documentation/git-prune.txt
index f92bb8c..3178bc4 100644
--- a/Documentation/git-prune.txt
+++ b/Documentation/git-prune.txt
@@ -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
-------