On Wed, Dec 9, 2015 at 2:24 PM, Jeff King <peff@xxxxxxxx> wrote: > On Wed, Dec 09, 2015 at 05:20:41PM -0500, Jeff King wrote: > >> Of course that is a bitter pill to swallow if you have reasons for >> wanting to use the old sha1s. E.g., you have internal development >> proceeding against the old tree and want to share a truncated version >> with the public. > > After re-reading your email, it looks like your use case is just to be > able to later prove the existence of the original history. You could > that by mentioning the original "C" in your truncated "D", but in a way > that git does not traverse reachability. For instance, amend D's commit > message to say: > > This is based on earlier, unpublished work going up to commit C. > > Then retain C for yourself, and show it only to those you want to prove > its contents to. I'd rather keep D for yourself and create a D' which is D just without parent and the note above, such that the tree of D and parts of the commit message is obvious by looking at D'. All that is secret is Ds parent and the commit information such as exact date. (committer could be guessed easily) > > -Peff > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html