On Thu, Oct 19, 2006 at 10:01:33AM -0700, Carl Worth wrote: > On Thu, 19 Oct 2006 10:58:48 -0400, Aaron Bentley wrote: > > On the other hand, I think your revision identifiers are not as > > permanent as you think. > > > > In the first place, it seems fairly common in the Git community to > > rebase. This process throws away old revisions and creates new > > revisions that are morally equivalent[1]. > > Yes, rebasing does "destroy history" in one sense, (in actual fact, it > creates new commits and leaves the old ones around, which may or may > not have references to them anymore). Note that the id's are still permanent in this case; they will never (module some assumptions about the crypto) be reused. So a given id points at one and only one object, for all time; it's just that we may forget what that one object is.... > > In the second place, one must consider the "nuclear launch codes" > > scenario. > > Sure. And git does provide tools that can do this. So in this case you can certainly lose the launch codes. But you have forever granted everyone a way to determine whether a given guess at the launch codes is correct. (Again, assuming some stuff about SHA1). --b. - 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