Re: git am from scratch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 19, 2009 at 04:09:24PM +0100, Andreas Gruenbacher wrote:

> lates git (e986ceb0): there is a bug in git am when trying to recreate the 
> entire history of a repository:

I don't think this has ever worked in any version of git.

It might be nice to have, since it does come up once in a while, so I
suspect patches would be welcome.

But...

> When the first commit is added by hand instead, git am will import the
> rest of the mbox without problems. This is annoying because it's at
> least not immediately obvious how to recreate the initial commit with
> all the metadata.
> 
> Is this easily fixed?

There are many other ways to do this. Have you tried:

  - simply pulling the old repo into the new one?

  - if they are not connected in real-time, creating a bundle from the
    first and pulling it into the latter?

  - if you want to tweak the commit data during the process, have you
    tried using fast-export/fast-import rather than format-patch/am?

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux