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

Re: git fast-import crashes importing commits with more than one author

From
Andreas Ericsson <ae@op5.se>
Date
May 3, 2010, 08:59 UTC
Message-ID
<4BDE9065.5030500@op5.se>
In-Reply-To
<y2m86ecb3c71005011028t7f581ce7t98256aa8f8bbb0bf@mail.gmail.com>
On 05/01/2010 07:28 PM, Dmitrijs Ledkovs wrote:
Show 25 quoted lines
> On 1 May 2010 18:19, Junio C Hamano<gitster@pobox.com>  wrote:
>> Dmitrijs Ledkovs<dmitrij.ledkov@ubuntu.com>  writes:
>>
>>> On 1 May 2010 17:36, Andreas Schwab<schwab@linux-m68k.org>  wrote:
>>>> Giedrius Slavinskas<giedrius.slavinskas@gmail.com>  writes:
>>>>
>>>>> git fast-import does not support commits with more than one author. I
>>>>> try to import bzr repository and it crashes.
>>>>
>>>> You can find a patch here:
>>>> <http://bazaar.launchpad.net/~schwab-linux-m68k/bzr-fastimport/fastimport.dev/revision/262>
>>>>
>>>> Andreas.
>>>
>>> Although this is fine shouldn't we put the additional authors to the
>>> signed-off: lines in the git commit message?
>>
>> If an author didn't sign-off in the log message, a tool shouldn't add it
>> automatically.  Doing so makes S-o-b meaningless.
>>
> 
> Fair enough. I'm justing thinking on how to support round-tripping to
> bzr with import/export cause there are a few other properties bzr
> needs to recreate identical repository. Is it more appropriate for the
> marks format revision (bzr side of it)?
Add
Co-authored-by: Some One <some.one@example.foo>

and parse that when sending back to bzr. That way you get attribution properly in both tools, in a way.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
Previous: Dmitrijs Ledkovs
Message 6 of 6 in “git fast-import crashes importing commits with more than one author”
  1. Giedrius SlavinskasMay 1, 2010
  2. Andreas SchwabMay 1, 2010
  3. Dmitrijs LedkovsMay 1, 2010
  4. Junio C HamanoMay 1, 2010
  5. Dmitrijs LedkovsMay 1, 2010
  6. Andreas EricssonMay 3, 2010

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.