On Fri, Sep 26, 2014 at 4:48 PM, Konstantin Khomoutov <
flatw...@users.sourceforge.net> wrote:

> On Fri, 26 Sep 2014 01:58:41 -0700 (PDT)
> Sabri LABBENE <sabri.labb...@gmail.com> wrote:
> > I'm trying to using fast-import.
> > My git version is "git version 1.9.4.msysgit.0"
> > I'm on a windows platform "Windeow Seven Entreprise SP1"
> >
> > I have CRLF as end line caracter in my fast-import stream.
> > Here is the fast-import crash:
> >
> > fast-import crash report:
> >     fast-import process: 8512
> >     parent process     : 1
> >     at Fri Sep 26 10:35:04 2014
> >
> > fatal: Unsupported command: blob
> [...]
> From [1], I gather that CRLFs in the stream is an entirely possible
> reason for making git-fast-import fail.  How do you produce your stream
> file?  If it's first created and then fed to Git (that is you're not
> piping something producing that stream to `git fast-import`), try to
> replace CRLFs with LFs and see what happens.
Yes, it was because of the CRLF.
My fast-import now goes further but it sucks for notes I'm trying to create
for the commits.

I create commit commands on refs/heads/notes like this :

commit refs/heads/notes
committer SOMEONE <some...@somecompany.com> DATE
N inline :MARK

All capital letters are substituted to their respective values.
And I got the following crash error.
fatal: Expected 'data n' command, found: N inline :1

Reading the documentation, I didn't found any clue.
Could someone provide examples of how to create/edit notes in a fast-import


> If the stream is produced by some tool (say, some other VCS) consider
> filing a bug with them.
> 1. https://www.google.com/search?q="fatal%3A+Unsupported+command%3A+blob";

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to