Skip to content

Commit 7d88c89

Browse files
authored
Merge pull request #1662 from EliahKagan/license-ambiguity
Fix URLs that were redirecting to another license
2 parents e8c3085 + ae8c018 commit 7d88c89

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+43
-44
lines changed

Diff for: git/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
# flake8: noqa
77
# @PydevCodeAnalysisIgnore
88
from git.exc import * # @NoMove @IgnorePep8

Diff for: git/cmd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
from __future__ import annotations
77
import re
88
import contextlib

Diff for: git/compat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
44
#
55
# This module is part of GitPython and is released under
6-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6+
# the BSD License: https://opensource.org/license/bsd-3-clause/
77
"""utilities to help provide compatibility with python 3"""
88
# flake8: noqa
99

Diff for: git/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
"""Module containing module parser implementation able to properly read and write
77
configuration files"""
88

Diff for: git/diff.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
import re
88
from git.cmd import handle_process_output

Diff for: git/exc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
""" Module containing all exceptions thrown throughout the git package, """
77

88
from gitdb.exc import BadName # NOQA @UnusedWildImport skipcq: PYL-W0401, PYL-W0614

Diff for: git/index/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
from contextlib import ExitStack
88
import datetime

Diff for: git/objects/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
from git.exc import WorkTreeRepositoryUnsupported
88
from git.util import LazyMixin, join_path_native, stream_copy, bin_to_hex

Diff for: git/objects/blob.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
from mimetypes import guess_type
77
from . import base
88

Diff for: git/objects/commit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
import datetime
77
import re
88
from subprocess import Popen, PIPE

Diff for: git/objects/tag.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
""" Module containing all object based types. """
77
from . import base
88
from .util import get_object_type_by_name, parse_actor_and_date

Diff for: git/objects/tree.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
from git.util import IterableList, join_path
88
import git.diff as git_diff

Diff for: git/objects/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
"""Module for general utility functions"""
77
# flake8: noqa F401
88

Diff for: git/remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
# Module implementing a remote object allowing easy access to git remotes
88
import logging

Diff for: git/repo/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
from __future__ import annotations
77
import logging
88
import os

Diff for: git/types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
# This module is part of GitPython and is released under
3-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
3+
# the BSD License: https://opensource.org/license/bsd-3-clause/
44
# flake8: noqa
55

66
import os

Diff for: git/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
from abc import abstractmethod
88
import os.path as osp

Diff for: test/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/

Diff for: test/lib/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
# flake8: noqa
88
import inspect

Diff for: test/lib/helper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
import contextlib
77
from functools import wraps
88
import gc

Diff for: test/performance/test_commit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
from io import BytesIO
77
from time import time
88
import sys

Diff for: test/test_actor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
from test.lib import TestBase
88
from git import Actor

Diff for: test/test_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
44
#
55
# This module is part of GitPython and is released under
6-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6+
# the BSD License: https://opensource.org/license/bsd-3-clause/
77
import os
88
import sys
99
import tempfile

Diff for: test/test_blob.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
from test.lib import TestBase
88
from git import Blob

Diff for: test/test_clone.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
# This module is part of GitPython and is released under
3-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
3+
# the BSD License: https://opensource.org/license/bsd-3-clause/
44

55
from pathlib import Path
66
import re

Diff for: test/test_commit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
44
#
55
# This module is part of GitPython and is released under
6-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6+
# the BSD License: https://opensource.org/license/bsd-3-clause/
77
import copy
88
from datetime import datetime
99
from io import BytesIO

Diff for: test/test_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
import glob
88
import io

Diff for: test/test_db.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66
from git.db import GitCmdObjectDB
77
from git.exc import BadObject
88
from test.lib import TestBase

Diff for: test/test_diff.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
44
#
55
# This module is part of GitPython and is released under
6-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6+
# the BSD License: https://opensource.org/license/bsd-3-clause/
77
import ddt
88
import shutil
99
import tempfile
@@ -414,7 +414,7 @@ def test_diff_interface(self):
414414

415415
@with_rw_directory
416416
def test_rename_override(self, rw_dir):
417-
"""Test disabling of diff rename detection"""
417+
"""Test disabling of diff rename detection"""
418418

419419
# create and commit file_a.txt
420420
repo = Repo.init(rw_dir)
@@ -480,4 +480,3 @@ def test_rename_override(self, rw_dir):
480480
self.assertEqual(True, diff.renamed_file)
481481
self.assertEqual('file_a.txt', diff.rename_from)
482482
self.assertEqual('file_b.txt', diff.rename_to)
483-

Diff for: test/test_docs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
44
#
55
# This module is part of GitPython and is released under
6-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6+
# the BSD License: https://opensource.org/license/bsd-3-clause/
77
import os
88
import sys
99

Diff for: test/test_exc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2008, 2009, 2016 Michael Trier ([email protected]) and contributors
44
#
55
# This module is part of GitPython and is released under
6-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6+
# the BSD License: https://opensource.org/license/bsd-3-clause/
77

88

99
import re

Diff for: test/test_git.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
44
#
55
# This module is part of GitPython and is released under
6-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6+
# the BSD License: https://opensource.org/license/bsd-3-clause/
77
import os
88
import shutil
99
import subprocess

Diff for: test/test_index.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
44
#
55
# This module is part of GitPython and is released under
6-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6+
# the BSD License: https://opensource.org/license/bsd-3-clause/
77

88
from io import BytesIO
99
import os
@@ -953,4 +953,4 @@ def test_index_add_pathlike(self, rw_repo):
953953
file = git_dir / "file.txt"
954954
file.touch()
955955

956-
rw_repo.index.add(file)
956+
rw_repo.index.add(file)

Diff for: test/test_installation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This module is part of GitPython and is released under
2-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
2+
# the BSD License: https://opensource.org/license/bsd-3-clause/
33

44
import ast
55
import os

Diff for: test/test_refs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
from itertools import chain
88
from pathlib import Path

Diff for: test/test_remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
import random
88
import tempfile

Diff for: test/test_repo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
44
#
55
# This module is part of GitPython and is released under
6-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6+
# the BSD License: https://opensource.org/license/bsd-3-clause/
77
import glob
88
import io
99
from io import BytesIO

Diff for: test/test_stats.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
from test.lib import TestBase, fixture
88
from git import Stats

Diff for: test/test_submodule.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
# This module is part of GitPython and is released under
3-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
3+
# the BSD License: https://opensource.org/license/bsd-3-clause/
44
import contextlib
55
import os
66
import shutil

Diff for: test/test_tree.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
from io import BytesIO
88
from unittest import skipIf

Diff for: test/test_util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2008, 2009 Michael Trier ([email protected]) and contributors
33
#
44
# This module is part of GitPython and is released under
5-
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
5+
# the BSD License: https://opensource.org/license/bsd-3-clause/
66

77
import os
88
import pickle

0 commit comments

Comments
 (0)