Re: Rollback of git commands
- From
Jon Smirl <jonsmirl@gmail.com>
- Date
- Nov 28, 2007, 16:23 UTC
- Message-ID
- <9e4733910711280823q5fa14120scb6371a1465efca5@mail.gmail.com>
- In-Reply-To
- <20071128162002.GB20308@coredump.intra.peff.net>
On 11/28/07, Jeff King <peff@peff.net> wrote:
Show 12 quoted lines
> On Tue, Nov 27, 2007 at 11:07:29PM -0500, Geert Bosch wrote: > > > I have always wondered why refs and tags are not > > in the regular object store. In a way, there > > should be just one root pointer (SHA1) pointing > > to a tree with refs, etc. > > Assuming that they also retain the "having an object implies having all > of the objects it points to" property, then it makes it hard to talk > about subsets or single refs. If I fetch from you and you communicate > your repo state as some hash, then I am stuck getting _all_ of your > refs to complete this property.
push/pull would still work at the branch level. The local state tracking objects wouldn't be exchanged.
> > -Peff >
-- Jon Smirl jonsmirl@gmail.com