Notes in fast import stream.
- From
- Arnaud Lacurie <arnaud.lacurie@gmail.com>
- Date
- May 29, 2011, 15:52 UTC
- Message-ID
- <BANLkTinpQ6HbTdNF8K5N0D3aYugj591LRw@mail.gmail.com>
Hi,
I would like to add notes through a fast-import stream. The problem is that I can't know the SHA1 of the commit I would like to add a note to before the fast-import is done. I would like to use marks to link my note to a commit this way :
commit refs/heads/master"; mark :1 committer user <user@example.com> GMT+0000 data length_of_my_comment my_comment M 644 inline my_file data length_of_my_file my_file_content N inline :1 data my_note_length my_note_content
This doesn't work because the mark 1 declaration is not finished, and I can't bind a note to it yet.
How could I do then ?
Thanks for you help.
-- Arnaud Lacurie