summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-11-01 10:51:12 -0700
committerBen Straub <bs@github.com>2013-11-01 10:51:12 -0700
commitdcfdb977d0767395055afe2dcd44fe260e39b46d (patch)
treed2660dba8973b9dd88fa33b2fae8749eacd54657 /CONTRIBUTING.md
parent567649f2ada60e5c3009cc985af238b452b14a81 (diff)
downloadlibgit2-dcfdb977d0767395055afe2dcd44fe260e39b46d.tar.gz
Relicense examples under CC0
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5c2eaec5e..807cd5320 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -3,6 +3,12 @@
We're making it easy to do interesting things with git, and we'd love to have
your help.
+## Licensing
+
+By contributing to libgit2, you agree to release your contribution under the terms of the license.
+For code under `examples`, this is governed by the [CC0 Public Domain Dedication](examples/COPYING).
+All other code is released under the [GPL v2 with linking exception](COPYING).
+
## Discussion & Chat
We hang out in the #libgit2 channel on irc.freenode.net.
@@ -70,7 +76,7 @@ you're porting code *from* to see what you need to do. As a general rule,
MIT and BSD (3-clause) licenses are typically no problem. Apache 2.0
license typically doesn't work due to GPL incompatibility.
-If you are pulling in code from core Git, another project or code you've pulled from
+If you are pulling in code from core Git, another project or code you've pulled from
a forum / Stack Overflow then please flag this in your PR and also make sure you've
given proper credit to the original author in the code snippet.