{"thread":{"id":"17209","subject":"Confusing text in git-prune.txt","startedAt":"2009-01-16T16:50:13Z","lastAt":"2009-01-16T17:02:17Z","messageCount":3,"participants":["Adeodato Simó","Johannes Sixt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"100753","messageId":"20090116165013.GA14196@chistera.yi.org","threadId":"17209","inReplyTo":null,"subject":"Confusing text in git-prune.txt","fromName":"Adeodato Simó","fromEmail":"dato@net.com.org.es","sentAt":"2009-01-16T16:50:13Z","receivedAt":"2009-01-16T16:50:13Z","isPatch":false,"sender":{"key":"dato@net.com.org.es","avatar":"https://gravatar.com/avatar/952ec7d5d5663eb8baf631b5c37f9c58480a881920dd5f8a2d3a71f969b72b53?d=mp&s=160"},"body":"From git-prune.txt:\n\n    [...] prunes all unpacked objects unreachable from any of\n    these head objects from the object database. In addition,\n    it prunes the unpacked objects that are also found in packs by\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    running git-prune-packed.\n\nHow can \"unpacked objects\" be \"found in packs\"? Maybe the first\n\"unpacked\" should be \"unreachable\". But if that's the case, wouldn't\nthis be better:\n\n    [...] prunes from the object database all objects unreachable from\n    any of these heads. Prunning already-packed objects is done with\n    the help of git-prune-packed.\n\nThoughts? Or am I reading the original text wrong?\n\n-- \nAdeodato Simó                                     dato at net.com.org.es\nDebian Developer                                  adeodato at debian.org\n \nI promise you. Once I enter into an exclusive relationship, I sleep with\nvery few people.\n                -- Denny Crane\n"},{"id":"100755","messageId":"4970BC25.7020007@viscovery.net","threadId":"17209","inReplyTo":"20090116165013.GA14196@chistera.yi.org","subject":"Re: Confusing text in git-prune.txt","fromName":"Johannes Sixt","fromEmail":"j.sixt@viscovery.net","sentAt":"2009-01-16T16:56:05Z","receivedAt":"2009-01-16T16:56:05Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Adeodato Simó schrieb:\n> From git-prune.txt:\n> \n>     [...] prunes all unpacked objects unreachable from any of\n>     these head objects from the object database. In addition,\n>     it prunes the unpacked objects that are also found in packs by\n>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n>     running git-prune-packed.\n> \n> How can \"unpacked objects\" be \"found in packs\"?\n\nAn object can exist more than once in the database. prune-packed removes\nthe loose (unpacked) instance of the object if it also available in a pack.\n\n-- Hannes\n"},{"id":"100756","messageId":"20090116170217.GA14855@chistera.yi.org","threadId":"17209","inReplyTo":"4970BC25.7020007@viscovery.net","subject":"Re: Confusing text in git-prune.txt","fromName":"Adeodato Simó","fromEmail":"dato@net.com.org.es","sentAt":"2009-01-16T17:02:17Z","receivedAt":"2009-01-16T17:02:17Z","isPatch":false,"sender":{"key":"dato@net.com.org.es","avatar":"https://gravatar.com/avatar/952ec7d5d5663eb8baf631b5c37f9c58480a881920dd5f8a2d3a71f969b72b53?d=mp&s=160"},"body":"* Johannes Sixt [Fri, 16 Jan 2009 17:56:05 +0100]:\n\n> Adeodato Simó schrieb:\n> > From git-prune.txt:\n\n> >     [...] prunes all unpacked objects unreachable from any of\n> >     these head objects from the object database. In addition,\n> >     it prunes the unpacked objects that are also found in packs by\n> >     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n> >     running git-prune-packed.\n\n> > How can \"unpacked objects\" be \"found in packs\"?\n\n> An object can exist more than once in the database. prune-packed removes\n> the loose (unpacked) instance of the object if it also available in a pack.\n\nAh, thanks, that explains everything.\n\nI read the manpage for git-prune-unpacked, but I didn't manage to figure\nit out. It may have helped if instead of saying:\n\n    git-prune-packed - Remove extra objects that are already in pack files\n\nit would have said:\n\n    git-prune-packed - Remove loose objects that are already in pack files\n                              ^^^^^\n\nBy stating that those objects are \"extra\", we're losing the information\nof where are they. And by reading that synopsis, one can already infer\nthey are \"extra\".\n\nCheers,\n\n-- \nAdeodato Simó                                     dato at net.com.org.es\nDebian Developer                                  adeodato at debian.org\n \n                                 Listening to: Radiohead - Bodysnatchers\n"}]}