On Wed, Nov 01, 2017 at 08:50:00AM -0700, Elijah Newren wrote: > Background: git's README.md file points out that some parts of git are > under a license other than GPLv2 (while still GPLv2-compatible), > though it doesn't state which one(s) I think this note is mostly about code we've imported from elsewhere. For example, libxdiff seems to be under LGPL. > or what a contributor might want > to do if they want to grant permission under one of those more > permissive license(s). If it's a whole file or subsystem that can be used standalone, I think it would make sense to mark the copyright at the top of the file (like xdiff does). For smaller bits or changes to GPL'd code, it's not clear to me if you can meaningfully dual-license them. I.e., I think you hit a question of whether small changes are copyrightable in themselves or if they're simply a derived work of Git. I'll leave that one to people more clueful about legal issues. > Also, I seem to recall that years ago there > were requests to make code available under a slightly more permissive > license to allow re-usage in jgit and perhaps other projects, though I > can't find any trace of this in the codebase. This was mostly done for the libgit2 project, which uses GPL with a linking exception: https://github.com/libgit2/libgit2/blob/master/COPYING When that project started, they asked for dual-license permission from various git.git contributors, which is documented in that repo: https://github.com/libgit2/libgit2/blob/master/git.git-authors > I'm not sure whether my specific git contributions would matter to > jgit (which we also use internally, both directly and indirectly), but > generally, is contributing under a more permissive GPLv2-compatible > license to permit re-usage in other projects like jgit (or for easing > future license switches) still relevant? If so, which license(s) have > folks gravitated towards for these contributions, and how would one > mark their submitted patches? Hopefully the above answers most of these questions. But I think in general the approach is not "license it differently in git.git", but "grant those other projects a different license to use your code, too". -Peff