Hello,
lates git (e986ceb0): there is a bug in git am when trying to recreate the
entire history of a repository:
$ git format-patch --stdout rcs-history \
| ( rm -rf fOo && mkdir fOo && cd fOo && git init && git am )
Initialized empty Git repository in /home/agruen/git/patch/foo/.git/
fatal: HEAD: not a valid SHA1
fatal: bad revision 'HEAD'
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?
Thanks,
Andreas