git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Notes in fast import stream.

From
ALArnaud 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
Next: Johan Herland
Message 1 of 3 in “Notes in fast import stream.”
  1. Arnaud LacurieMay 29, 2011
  2. Johan HerlandMay 29, 2011
  3. Arnaud LacurieMay 29, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.