I'm trying to write an importer using fast-import, but I'm having trouble. I'm wondering if its working, or if I'm hitting known issues.

For one thing, it has trouble with my commit line. Here's what I'm getting (starting with a cmd.exe window in XP or Vista):

   C:\> c:\msysgit\bin\sh -login -i
   Welcome to msysGit


   Run 'git help git' to display the help index.
   Run 'git help <command>' to display help for specific commands.

   [EMAIL PROTECTED] /c
   $ mkdir Gittest

   [EMAIL PROTECTED] /c
   $ cd Gittest

   [EMAIL PROTECTED] /c/Gittest
   $ git init
   Initialized empty Git repository in .git/

   [EMAIL PROTECTED] /c/Gittest
   $ git fast-import
   commit refs/heads/master
   fatal: Branch name doesn't conform to GIT standards: refs/heads/master
   fast-import: dumping crash report to .git/fast_import_crash_2352

The same sequence of commands seems to work fine with the Cygwin version. Is this perhaps a line ending issue?

Also, how the heck do I send an EOF to this to get it to shut down nicely? Hitting CTRL-D works with Cywgin, but doesn't seem to do anything with the msys version.

--
T.E.D.


--
Why, I'd horse-whip you if I had a horse. -- Groucho Marx

Reply via email to