git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git fast-import crashes importing commits with more than one author
@ 2010-05-01 15:43 Giedrius Slavinskas
  2010-05-01 16:36 ` Andreas Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: Giedrius Slavinskas @ 2010-05-01 15:43 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

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

Here is info how to make bzr commit that couldn't be imported to git
http://doc.bazaar.canonical.com/latest/en/user-guide/recording_changes.html#giving-credit-for-a-change



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git fast-import crashes importing commits with more than one author
  2010-05-01 15:43 git fast-import crashes importing commits with more than one author Giedrius Slavinskas
@ 2010-05-01 16:36 ` Andreas Schwab
  2010-05-01 16:47   ` Dmitrijs Ledkovs
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 2010-05-01 16:36 UTC (permalink / raw)
  To: Giedrius Slavinskas; +Cc: git

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.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git fast-import crashes importing commits with more than one  author
  2010-05-01 16:36 ` Andreas Schwab
@ 2010-05-01 16:47   ` Dmitrijs Ledkovs
  2010-05-01 17:19     ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitrijs Ledkovs @ 2010-05-01 16:47 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Giedrius Slavinskas, git

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?

--Dima.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git fast-import crashes importing commits with more than one  author
  2010-05-01 16:47   ` Dmitrijs Ledkovs
@ 2010-05-01 17:19     ` Junio C Hamano
  2010-05-01 17:28       ` Dmitrijs Ledkovs
  0 siblings, 1 reply; 6+ messages in thread
From: Junio C Hamano @ 2010-05-01 17:19 UTC (permalink / raw)
  To: Dmitrijs Ledkovs; +Cc: Andreas Schwab, Giedrius Slavinskas, git

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git fast-import crashes importing commits with more than one  author
  2010-05-01 17:19     ` Junio C Hamano
@ 2010-05-01 17:28       ` Dmitrijs Ledkovs
  2010-05-03  8:59         ` Andreas Ericsson
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitrijs Ledkovs @ 2010-05-01 17:28 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Andreas Schwab, Giedrius Slavinskas, git

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: git fast-import crashes importing commits with more than one author
  2010-05-01 17:28       ` Dmitrijs Ledkovs
@ 2010-05-03  8:59         ` Andreas Ericsson
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Ericsson @ 2010-05-03  8:59 UTC (permalink / raw)
  To: Dmitrijs Ledkovs; +Cc: Junio C Hamano, Andreas Schwab, Giedrius Slavinskas, git

On 05/01/2010 07:28 PM, Dmitrijs Ledkovs wrote:
> 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-03  8:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-01 15:43 git fast-import crashes importing commits with more than one author Giedrius Slavinskas
2010-05-01 16:36 ` Andreas Schwab
2010-05-01 16:47   ` Dmitrijs Ledkovs
2010-05-01 17:19     ` Junio C Hamano
2010-05-01 17:28       ` Dmitrijs Ledkovs
2010-05-03  8:59         ` Andreas Ericsson

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