Skip to contentSkip to conversation

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

DISCUSSION Giedrius Slavinskas 5 participants 6 messages Jun 15, 2016

lore
Share & tools
lore
#3 lore raw
Quoted 6 lines · Dmitrijs Ledkovs
Quoted 5 lines · Andreas Schwab
Quoted 2 lines · Giedrius Slavinskas

git fast-import does not support commits with more than one author. I try to import bzr repository and it crashes.

Quoted 7 lines
Quoted 4 lines

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.

#4 lore raw
Quoted 11 lines · Junio C Hamano
Quoted 9 lines · Dmitrijs Ledkovs
Quoted 8 lines · Andreas Schwab
Quoted 2 lines · Giedrius Slavinskas

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>

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

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)?

#5 lore raw
Quoted 17 lines · Dmitrijs Ledkovs
Quoted 16 lines · Junio C Hamano
Quoted 13 lines · Dmitrijs Ledkovs
Quoted 9 lines · Andreas Schwab
Quoted 2 lines · Giedrius Slavinskas

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?

Quoted 8 lines
Quoted 3 lines

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

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

Signature · 7 lines
Andreas Ericsson                   [email protected]
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.