From: Mark Levedahl Date: Fri, 04 Jul 2008 13:49:31 GMT Subject: Re: [PATCH/v2] git-basis, a script to manage bases for git-bundle Message-ID: <486E2A6B.7040905@verizon.net> In-Reply-To: Johannes Schindelin wrote: > Hi, > > On Fri, 4 Jul 2008, Mark Levedahl wrote: > > > /me wonders if it would not make sense to support "git push ", > then. Maybe with a running counter, i.e. > > $ git push the-bundle-5.bundle master > > would create the-bundle-6.bundle with everything needed in addition to > the-bundle-5.bundle to have the current "master". > > Just an idea, > Dscho > I think the trouble here is that the-bundle-5.bundle does not necessarily contain the basis. Consider the general case of pushing master, next, pu, and only pu has updated since the last push. Now, the-bundle-6.bundle will only contain pu, not master nor next as there is nothing new, and thus is not a good basis for creating the-bundle-7.bundle. This leads to a need for a meta-storage of basis or a redefinition of how git-bundle deals with refs that are equal to the given basis (currently, it excludes such refs). Mark