git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation/git-prune.txt: document unpacked logic

From
CFChris Frey <cdfrey@foursquare.net>
Date
May 14, 2008, 23:22 UTC
Message-ID
<20080514232218.GA2991@foursquare.net>

Clarifies the git-prune man page, documenting that it only prunes unpacked objects.

Signed-off-by: Chris Frey <cdfrey@foursquare.net>
---
	One of these days I'll get it right... :-)
	Splitting up previous git-repack patch, and trying to format
	properly.  Trying the simple one first...
 Documentation/git-prune.txt |    5 ++++-
 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
 -------
 
-- 
1.5.4.4
Message 1 of 1 in “Documentation/git-prune.txt: document unpacked logic”
  1. Documentation/git-prune.txt: document unpacked logicChris Frey, May 14, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.