{"thread":{"id":"13540","subject":"[PATCH] Documentation/git-repack.txt: document new -A behaviour","startedAt":"2008-05-16T02:37:31Z","lastAt":"2008-05-16T02:37:31Z","messageCount":1,"participants":["Chris Frey"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"77094","messageId":"20080516023731.GA30796@foursquare.net","threadId":"13540","inReplyTo":null,"subject":"[PATCH] Documentation/git-repack.txt: document new -A behaviour","fromName":"Chris Frey","fromEmail":"cdfrey@foursquare.net","sentAt":"2008-05-16T02:37:31Z","receivedAt":"2008-05-16T02:37:31Z","isPatch":true,"sender":{"key":"cdfrey@foursquare.net","avatar":null},"body":"Add paragraph for the -A option, and describe the new behaviour\nthat makes unreachable objects loose.\n\nSigned-off-by: Chris Frey <cdfrey@foursquare.net>\n---\n\n\tThis is the second half of the split-up prune/repack\n\tdocumentation patch, as I see the prune patch was accepted.\n\n\tThanks,\n\t- Chris\n\n Documentation/git-repack.txt |   14 +++++++++++++-\n 1 files changed, 13 insertions(+), 1 deletions(-)\n\ndiff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt\nindex 3d95749..906d3c7 100644\n--- a/Documentation/git-repack.txt\n+++ b/Documentation/git-repack.txt\n@@ -8,7 +8,7 @@ git-repack - Pack unpacked objects in a repository\n \n SYNOPSIS\n --------\n-'git-repack' [-a] [-d] [-f] [-l] [-n] [-q] [--window=N] [--depth=N]\n+'git-repack' [-a] [-A] [-d] [-f] [-l] [-n] [-q] [--window=N] [--depth=N]\n \n DESCRIPTION\n -----------\n@@ -37,6 +37,18 @@ OPTIONS\n \tleaves behind, but `git fsck --full` shows as\n \tdangling.\n \n+-A::\n+\tSame as `-a`, but any unreachable objects in a previous\n+\tpack become loose, unpacked objects, instead of being\n+\tleft in the old pack.  Unreachable objects are never\n+\tintentionally added to a pack, even when repacking.\n+\tWhen used with '-d', this option\n+\tprevents unreachable objects from being immediately\n+\tdeleted by way of being left in the old pack and then\n+\tremoved.  Instead, the loose unreachable objects\n+\twill be pruned according to normal expiry rules\n+\twith the next linkgit:git-gc[1].\n+\n -d::\n \tAfter packing, if the newly created packs make some\n \texisting packs redundant, remove the redundant packs.\n-- \n1.5.4.4\n"}]}