Re: [WIP PATCH] Add 'git fast-export', the sister of 'git fast-import'
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 23, 2007, 14:31 UTC
- Message-ID
- <Pine.LNX.4.64.0711231428350.27959@racer.site>
- In-Reply-To
- <fcaeb9bf0711230431x1b0432f6uc9472b2f67514463@mail.gmail.com>
Hi,
On Fri, 23 Nov 2007, Nguyen Thai Ngoc Duy wrote:
Show 18 quoted lines
> On Nov 21, 2007 10:40 AM, Johannes Schindelin > <Johannes.Schindelin@gmx.de> wrote: > > > > [WIP: this does not handle tags yet, and it lacks a test script > > as well as documentation.] > > > > This program dumps (parts of) a git repository in the format that > > fast-import understands. > > > > For clarity's sake, it does not use the 'inline' method of specifying > > blobs in the commits, but builds the blobs before building the commits.B > > > > --- > > I am way too tired now to continue, but maybe someone else wants > > to pick up the ball. > > Well, I would better be back on setup_git_directory() than picking up > the ball.
Concur.
> I have a suggestion though. git-fast-export and git-fast-import should > support bundle.
I think this is not what fast-export and fast-import are about. They use an easy to generate, and easy to edit, format.
Bundles are optimised transport mechanisms for sneaker net. They are not to be meant to be easy to edit, but as small as possible.
> 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).
Ciao, Dscho