15

User Mark makes repository A and releases the code under the MIT license with their name in the license. User Jeff forks the repository makes some improvements and adds their name to the license file (still using the MIT license). Then Jeff makes a pull request to Mark's repository. Is it legal for Mark to remove Jeff's name from the license file without reverting the whole pull? If it is necessary to localize it to one country, please tell me the rule for the United States of America.

2
  • 5
    When working with Git, some developers like to minimize the changes when integrating code, so the notice may have gotten "lost" during that process. Maybe the most prudent action afterwards would be for Jeff to try another pull request, containing only the required LICENSE change, maybe you can summarize it in the commit message such as "add missing notice to comply with the blahblahblah license". If Mark still rejects that addition but keeps the earlier ones containing Jeff's changes, then you know there's a problem in understanding the license.
    – Brandin
    Commented Sep 1, 2022 at 7:32
  • The headline asks about removing a contributor's name from code. The body asks about removing it from the license file. I think those are very different questions with different answers. Commented Sep 2, 2022 at 11:16

2 Answers 2

22

No, it is not legal to remove the copyright notice of a contributor who has offered a copyrightable contribution under the MIT license. Jeff has offered his work to Mark under the MIT license and Mark must abide by Jeff's license grant in order to legally make use of Jeff's code. If Mark is not interested in preserving the copyright notice as required by Jeff's MIT grant, then Mark has not been afforded rights to reproduce or distribute Jeff's code under any other terms; to do so is a copyright violation.

Socially, it is probably a good idea to bring this to Mark's attention but assume this was done accidentally (merging code can be complex!) until Mark indicates otherwise.

Note that Mark is probably not required to add Jeff's copyright notice if Jeff neglected to add one.

Note also that if Jeff left multiple copyright notices throughout the project, then removing some of Jeff's copyright notices, but keeping a nonzero number of them, is probably a legal grey area. (If Jeff was excessive in adding a wealth of notices, this is a reasonable janitorial task, but this could easily be a malicious, misleading thing for Mark to do under many circumstances; I don't know how a court might rule on any particular set of facts.)

1
  • 2
    If Jeff sprinkled copyright notes all around the code while making changes, Mark should probably just ask them to clean them up and post another patch or PR. Or reject the contribution. That's similar to coding style issues or keeping the structure of the program intact etc, things that are commonly done. More so in this case, since removing the copyright notice might be legally questionable as you say, though the requirement to keep the notices included "in all copies or substantial portions of the software" (as the quote in another answer says) would seem to allow cleaning up excess notices.
    – ilkkachu
    Commented Sep 2, 2022 at 9:17
3

In general, no

You can only copy or make a derivative work of copyright material with permission. That permission is the MIT licence which says:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Now, if what you used was not a "substantial portion", then you technically don't need to provide the notice. However, you might have to defend that position in court.

Fair use

Under US law you do not need permission if your use is fair use:

In its most general sense, a fair use is any copying of copyrighted material done for a limited and “transformative” purpose, such as to comment upon, criticize, or parody a copyrighted work.

In the case you describe, this isn't likely to be applicable.

Commonwealth countries have the doctrine of fair dealing which is, in general, less permissive than fair use. Other jurisdictions have broadly similar provisions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.