Skip to content

Commit 50298f4

Browse files
committed
Switch the license from BSD to GPL+libgcc exception
Signed-off-by: Shawn O. Pearce <[email protected]>
1 parent d1ea30c commit 50298f4

File tree

12 files changed

+551
-295
lines changed

12 files changed

+551
-295
lines changed

.HEADER

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* This file is free software; you can redistribute it and/or modify
3+
* it under the terms of the GNU General Public License, version 2,
4+
* as published by the Free Software Foundation.
5+
*
6+
* In addition to the permissions in the GNU General Public License,
7+
* the authors give you unlimited permission to link the compiled
8+
* version of this file into combinations with other programs,
9+
* and to distribute those combinations without any restriction
10+
* coming from the use of this file. (The General Public License
11+
* restrictions do apply in other respects; for example, they cover
12+
* modification of the file, and distribution when not linked into
13+
* a combined executable.)
14+
*
15+
* This file is distributed in the hope that it will be useful, but
16+
* WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU General Public License
21+
* along with this program; see the file COPYING. If not, write to
22+
* the Free Software Foundation, 51 Franklin Street, Fifth Floor,
23+
* Boston, MA 02110-1301, USA.
24+
*/

COPYING

+356
Large diffs are not rendered by default.

LICENSE

-34
This file was deleted.

include/git/commit.h

+19-29
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,26 @@
11
/*
2-
* All rights reserved.
2+
* This file is free software; you can redistribute it and/or modify
3+
* it under the terms of the GNU General Public License, version 2,
4+
* as published by the Free Software Foundation.
35
*
4-
* Redistribution and use in source and binary forms, with or
5-
* without modification, are permitted provided that the following
6-
* conditions are met:
6+
* In addition to the permissions in the GNU General Public License,
7+
* the authors give you unlimited permission to link the compiled
8+
* version of this file into combinations with other programs,
9+
* and to distribute those combinations without any restriction
10+
* coming from the use of this file. (The General Public License
11+
* restrictions do apply in other respects; for example, they cover
12+
* modification of the file, and distribution when not linked into
13+
* a combined executable.)
714
*
8-
* - Redistributions of source code must retain the above copyright
9-
* notice, this list of conditions and the following disclaimer.
15+
* This file is distributed in the hope that it will be useful, but
16+
* WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* General Public License for more details.
1019
*
11-
* - Redistributions in binary form must reproduce the above
12-
* copyright notice, this list of conditions and the following
13-
* disclaimer in the documentation and/or other materials provided
14-
* with the distribution.
15-
*
16-
* - Neither the name of the Git Development Community nor the
17-
* names of its contributors may be used to endorse or promote
18-
* products derived from this software without specific prior
19-
* written permission.
20-
*
21-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
22-
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
23-
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24-
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
26-
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27-
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28-
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31-
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
33-
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20+
* You should have received a copy of the GNU General Public License
21+
* along with this program; see the file COPYING. If not, write to
22+
* the Free Software Foundation, 51 Franklin Street, Fifth Floor,
23+
* Boston, MA 02110-1301, USA.
3424
*/
3525

3626
#ifndef INCLUDE_git_commit_h__

include/git/common.h

+19-29
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,26 @@
11
/*
2-
* All rights reserved.
2+
* This file is free software; you can redistribute it and/or modify
3+
* it under the terms of the GNU General Public License, version 2,
4+
* as published by the Free Software Foundation.
35
*
4-
* Redistribution and use in source and binary forms, with or
5-
* without modification, are permitted provided that the following
6-
* conditions are met:
6+
* In addition to the permissions in the GNU General Public License,
7+
* the authors give you unlimited permission to link the compiled
8+
* version of this file into combinations with other programs,
9+
* and to distribute those combinations without any restriction
10+
* coming from the use of this file. (The General Public License
11+
* restrictions do apply in other respects; for example, they cover
12+
* modification of the file, and distribution when not linked into
13+
* a combined executable.)
714
*
8-
* - Redistributions of source code must retain the above copyright
9-
* notice, this list of conditions and the following disclaimer.
15+
* This file is distributed in the hope that it will be useful, but
16+
* WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* General Public License for more details.
1019
*
11-
* - Redistributions in binary form must reproduce the above
12-
* copyright notice, this list of conditions and the following
13-
* disclaimer in the documentation and/or other materials provided
14-
* with the distribution.
15-
*
16-
* - Neither the name of the Git Development Community nor the
17-
* names of its contributors may be used to endorse or promote
18-
* products derived from this software without specific prior
19-
* written permission.
20-
*
21-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
22-
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
23-
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24-
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
26-
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27-
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28-
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31-
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
33-
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20+
* You should have received a copy of the GNU General Public License
21+
* along with this program; see the file COPYING. If not, write to
22+
* the Free Software Foundation, 51 Franklin Street, Fifth Floor,
23+
* Boston, MA 02110-1301, USA.
3424
*/
3525

3626
#ifndef INCLUDE_git_common_h__

include/git/odb.h

+19-29
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,26 @@
11
/*
2-
* All rights reserved.
2+
* This file is free software; you can redistribute it and/or modify
3+
* it under the terms of the GNU General Public License, version 2,
4+
* as published by the Free Software Foundation.
35
*
4-
* Redistribution and use in source and binary forms, with or
5-
* without modification, are permitted provided that the following
6-
* conditions are met:
6+
* In addition to the permissions in the GNU General Public License,
7+
* the authors give you unlimited permission to link the compiled
8+
* version of this file into combinations with other programs,
9+
* and to distribute those combinations without any restriction
10+
* coming from the use of this file. (The General Public License
11+
* restrictions do apply in other respects; for example, they cover
12+
* modification of the file, and distribution when not linked into
13+
* a combined executable.)
714
*
8-
* - Redistributions of source code must retain the above copyright
9-
* notice, this list of conditions and the following disclaimer.
15+
* This file is distributed in the hope that it will be useful, but
16+
* WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* General Public License for more details.
1019
*
11-
* - Redistributions in binary form must reproduce the above
12-
* copyright notice, this list of conditions and the following
13-
* disclaimer in the documentation and/or other materials provided
14-
* with the distribution.
15-
*
16-
* - Neither the name of the Git Development Community nor the
17-
* names of its contributors may be used to endorse or promote
18-
* products derived from this software without specific prior
19-
* written permission.
20-
*
21-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
22-
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
23-
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24-
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
26-
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27-
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28-
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31-
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
33-
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20+
* You should have received a copy of the GNU General Public License
21+
* along with this program; see the file COPYING. If not, write to
22+
* the Free Software Foundation, 51 Franklin Street, Fifth Floor,
23+
* Boston, MA 02110-1301, USA.
3424
*/
3525

3626
#ifndef INCLUDE_git_odb_h__

include/git/oid.h

+19-29
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,26 @@
11
/*
2-
* All rights reserved.
2+
* This file is free software; you can redistribute it and/or modify
3+
* it under the terms of the GNU General Public License, version 2,
4+
* as published by the Free Software Foundation.
35
*
4-
* Redistribution and use in source and binary forms, with or
5-
* without modification, are permitted provided that the following
6-
* conditions are met:
6+
* In addition to the permissions in the GNU General Public License,
7+
* the authors give you unlimited permission to link the compiled
8+
* version of this file into combinations with other programs,
9+
* and to distribute those combinations without any restriction
10+
* coming from the use of this file. (The General Public License
11+
* restrictions do apply in other respects; for example, they cover
12+
* modification of the file, and distribution when not linked into
13+
* a combined executable.)
714
*
8-
* - Redistributions of source code must retain the above copyright
9-
* notice, this list of conditions and the following disclaimer.
15+
* This file is distributed in the hope that it will be useful, but
16+
* WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* General Public License for more details.
1019
*
11-
* - Redistributions in binary form must reproduce the above
12-
* copyright notice, this list of conditions and the following
13-
* disclaimer in the documentation and/or other materials provided
14-
* with the distribution.
15-
*
16-
* - Neither the name of the Git Development Community nor the
17-
* names of its contributors may be used to endorse or promote
18-
* products derived from this software without specific prior
19-
* written permission.
20-
*
21-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
22-
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
23-
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24-
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
26-
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27-
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28-
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31-
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
33-
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20+
* You should have received a copy of the GNU General Public License
21+
* along with this program; see the file COPYING. If not, write to
22+
* the Free Software Foundation, 51 Franklin Street, Fifth Floor,
23+
* Boston, MA 02110-1301, USA.
3424
*/
3525

3626
#ifndef INCLUDE_git_oid_h__

include/git/revwalk.h

+19-29
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,26 @@
11
/*
2-
* All rights reserved.
2+
* This file is free software; you can redistribute it and/or modify
3+
* it under the terms of the GNU General Public License, version 2,
4+
* as published by the Free Software Foundation.
35
*
4-
* Redistribution and use in source and binary forms, with or
5-
* without modification, are permitted provided that the following
6-
* conditions are met:
6+
* In addition to the permissions in the GNU General Public License,
7+
* the authors give you unlimited permission to link the compiled
8+
* version of this file into combinations with other programs,
9+
* and to distribute those combinations without any restriction
10+
* coming from the use of this file. (The General Public License
11+
* restrictions do apply in other respects; for example, they cover
12+
* modification of the file, and distribution when not linked into
13+
* a combined executable.)
714
*
8-
* - Redistributions of source code must retain the above copyright
9-
* notice, this list of conditions and the following disclaimer.
15+
* This file is distributed in the hope that it will be useful, but
16+
* WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* General Public License for more details.
1019
*
11-
* - Redistributions in binary form must reproduce the above
12-
* copyright notice, this list of conditions and the following
13-
* disclaimer in the documentation and/or other materials provided
14-
* with the distribution.
15-
*
16-
* - Neither the name of the Git Development Community nor the
17-
* names of its contributors may be used to endorse or promote
18-
* products derived from this software without specific prior
19-
* written permission.
20-
*
21-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
22-
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
23-
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24-
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
26-
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27-
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28-
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31-
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
33-
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20+
* You should have received a copy of the GNU General Public License
21+
* along with this program; see the file COPYING. If not, write to
22+
* the Free Software Foundation, 51 Franklin Street, Fifth Floor,
23+
* Boston, MA 02110-1301, USA.
3424
*/
3525

3626
#ifndef INCLUDE_git_revwalk_h__

src/commit.c

+19-29
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,26 @@
11
/*
2-
* All rights reserved.
2+
* This file is free software; you can redistribute it and/or modify
3+
* it under the terms of the GNU General Public License, version 2,
4+
* as published by the Free Software Foundation.
35
*
4-
* Redistribution and use in source and binary forms, with or
5-
* without modification, are permitted provided that the following
6-
* conditions are met:
6+
* In addition to the permissions in the GNU General Public License,
7+
* the authors give you unlimited permission to link the compiled
8+
* version of this file into combinations with other programs,
9+
* and to distribute those combinations without any restriction
10+
* coming from the use of this file. (The General Public License
11+
* restrictions do apply in other respects; for example, they cover
12+
* modification of the file, and distribution when not linked into
13+
* a combined executable.)
714
*
8-
* - Redistributions of source code must retain the above copyright
9-
* notice, this list of conditions and the following disclaimer.
15+
* This file is distributed in the hope that it will be useful, but
16+
* WITHOUT ANY WARRANTY; without even the implied warranty of
17+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18+
* General Public License for more details.
1019
*
11-
* - Redistributions in binary form must reproduce the above
12-
* copyright notice, this list of conditions and the following
13-
* disclaimer in the documentation and/or other materials provided
14-
* with the distribution.
15-
*
16-
* - Neither the name of the Git Development Community nor the
17-
* names of its contributors may be used to endorse or promote
18-
* products derived from this software without specific prior
19-
* written permission.
20-
*
21-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
22-
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
23-
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24-
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
26-
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27-
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28-
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31-
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
33-
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20+
* You should have received a copy of the GNU General Public License
21+
* along with this program; see the file COPYING. If not, write to
22+
* the Free Software Foundation, 51 Franklin Street, Fifth Floor,
23+
* Boston, MA 02110-1301, USA.
3424
*/
3525

3626
#include "git/commit.h"

0 commit comments

Comments
 (0)