Re: [WIP PATCH] Add 'git fast-export', the sister of 'git fast-import'
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Nov 23, 2007, 12:31 UTC
- Message-ID
- <fcaeb9bf0711230431x1b0432f6uc9472b2f67514463@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0711210336210.27959@racer.site>
On Nov 21, 2007 10:40 AM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 13 quoted lines
> > [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. I have a suggestion though. git-fast-export and git-fast-import should support bundle. Bundle is very handy for transferring a bunch of commits, but it does not (cannot?) hold tags and branches. With git-fast-{im,ex}port, we will have a perfect transportation for disconnected development.
Show 5 quoted lines
> Oh, and it relies on "int" being castable to void * and vice > versa. Is anybody aware of a platform where this can lead to > problems? > > And yes, I will add a copyright when I woke up again.
-- Duy