Re: [WIP PATCH] Add 'git fast-export', the sister of 'git fast-import'
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Nov 27, 2007, 14:17 UTC
- Message-ID
- <fcaeb9bf0711270617u5ccba66dx6278e322e8c376@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0711271214230.27959@racer.site>
On Nov 27, 2007 7:16 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 27 quoted lines
> Hi, > > On Sat, 24 Nov 2007, Nguyen Thai Ngoc Duy wrote: > > > On Nov 23, 2007 9:31 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > > > > On Fri, 23 Nov 2007, Nguyen Thai Ngoc Duy wrote: > > > > > > > Bundle is very handy for transferring a bunch of commits, but it > > > > does not (cannot?) hold tags and branches. > > > > > > But they can! Nothing prevents you from calling > > > > > > git bundle create a1.bundle refs/tags/v1.0.0 refs/heads/next > > > > > > (At least this is the idea, haven't tested yet). > > > > It can store commits and heavy tags, but it won't restore tags to > > refs/tags or advance branches. > > The idea is that you fetch them from the bundle. So something like this > should do what you want: > > git fetch a1.bundle v1.0.0:refs/tags/v1.0.0 > > Note that the automatic tag handling of git fetch kicks in with bundles > just like with other fetch URLs (Unassuming Repository Locators).
Yes, you are right. Man, if I knew I could pass a bundle to git-fetch, my life would have been much easier :(
-- Duy