git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnaud Lacurie <arnaud.lacurie@gmail.com>
To: git@vger.kernel.org
Cc: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>,
	Sylvain Boulme <sylvain.boulme@imag.fr>
Subject: Notes in fast import stream.
Date: Sun, 29 May 2011 17:52:06 +0200	[thread overview]
Message-ID: <BANLkTinpQ6HbTdNF8K5N0D3aYugj591LRw@mail.gmail.com> (raw)

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

             reply	other threads:[~2011-05-29 15:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-29 15:52 Arnaud Lacurie [this message]
2011-05-29 20:20 ` Notes in fast import stream Johan Herland
2011-05-29 21:10   ` Arnaud Lacurie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTinpQ6HbTdNF8K5N0D3aYugj591LRw@mail.gmail.com \
    --to=arnaud.lacurie@gmail.com \
    --cc=Matthieu.Moy@grenoble-inp.fr \
    --cc=git@vger.kernel.org \
    --cc=sylvain.boulme@imag.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).