Code

Documentation/git-remote-helpers: explain how import works with multiple refs
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Thu, 1 Sep 2011 16:49:37 +0000 (18:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Sep 2011 22:51:48 +0000 (15:51 -0700)
commit960e3114963dbb290c12f7a4d19c5776584d43ff
treee2bed2cbd31786075fb3ee87d530a1f4a6174fee
parentb4fc8d6ac638723e4f4452752f8fb41efe1ec356
Documentation/git-remote-helpers: explain how import works with multiple refs

This is important for two reasons:

* when two "import" lines follow each other, only one "done" command
  should be issued in the fast-import stream, not one per "import".

* The blank line terminating an import command should not be confused
  with the one terminating the sequence of commands.

While we're there, illustrate the corresponding explanation for push
batches with an example.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Acked-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-remote-helpers.txt