|
|
Subscribe / Log in / New account

Copyright notices (or the lack thereof) in kernel code

Copyright notices (or the lack thereof) in kernel code

Posted Oct 28, 2022 12:59 UTC (Fri) by geert (subscriber, #98403)
In reply to: Copyright notices (or the lack thereof) in kernel code by karim
Parent article: Copyright notices (or the lack thereof) in kernel code

> FWIW, git offers the "--author" flag for "commit". Maybe that'd be useful here?

That just overrides user.name/user.email in git's configuration.


to post comments

Copyright notices (or the lack thereof) in kernel code

Posted Oct 28, 2022 13:14 UTC (Fri) by karim (subscriber, #114) [Link] (3 responses)

Hmm. Are you sure?

From https://git-scm.com/docs/git-commit :
"--author=<author>

Override the commit author. Specify an explicit author using the standard A U Thor <author@example.com> format. Otherwise <author> is assumed to be a pattern and is used to search for an existing commit by that author (i.e. rev-list --all -i --author=<author>); the commit author is then copied from the first such commit found."

Am I misreading what this does? Note: I'm not a regular user of this functionality, so I might be missing the mark.

Copyright notices (or the lack thereof) in kernel code

Posted Oct 28, 2022 21:02 UTC (Fri) by mathstuf (subscriber, #69389) [Link] (2 responses)

If `--author` is not provided, it pulls the info from the `user.name` and `user.email` configurations.

Copyright notices (or the lack thereof) in kernel code

Posted Oct 29, 2022 20:20 UTC (Sat) by Wol (subscriber, #4433) [Link] (1 responses)

And what everyone here is missing (and I made clear in my comment) you can NOT use the "author" commit to identify the copyright holder. You MUST EXplicitly specify the copyright holder if you want to know who the copyright holder is.

A LOT of contributors do not own the copyright in their contributions. I've got a feeling I might soon need to sort out that mess in ScarletDME ...

Cheers,
Wol

Copyright notices (or the lack thereof) in kernel code

Posted Oct 30, 2022 5:18 UTC (Sun) by pabs (subscriber, #43278) [Link]

Obligatory reminder for those who don't hold copyright over the open source that they write for their employer to please renegotiate your employment contract to change that and other things:

https://sfconservancy.org/contractpatch/


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds