Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gitpython-developers/GitPython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c8ebc8b
Choose a base ref
...
head repository: gitpython-developers/GitPython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5bb9449
Choose a head ref
  • 9 commits
  • 7 files changed
  • 5 contributors

Commits on Aug 14, 2019

  1. Fix Git.transform_kwarg

    Kwargs were not transformed correctly if a value was set to 0 due to
    wrong if condition.
    
    Signed-off-by: František Nečas <[email protected]>
    FrNecas authored and Sebastian Thiel committed Aug 14, 2019

    Unverified

    No user is associated with the committer email.
    Copy the full SHA
    5b27339 View commit details
  2. Bump version

    Sebastian Thiel committed Aug 14, 2019

    Unverified

    No user is associated with the committer email.
    Copy the full SHA
    a34d515 View commit details

Commits on Feb 16, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    Harmon758 Harmon
    Copy the full SHA
    7539cd8 View commit details
  2. Require gitdb2 <3

    Harmon758 committed Feb 16, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Harmon758 Harmon
    Copy the full SHA
    bcf9f1c View commit details
  3. v2.1.15

    Harmon758 committed Feb 16, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Harmon758 Harmon
    Copy the full SHA
    09ac0a1 View commit details

Commits on Feb 17, 2020

  1. Change to USB-C yubikey

    Byron committed Feb 17, 2020

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    e3ba4a3 View commit details
  2. Bring gitdb submodule back to a version that supports python 2.x

    This should fix tests on travis.
    Byron committed Feb 17, 2020

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    8defbd8 View commit details

Commits on Feb 10, 2021

  1. Update gitdb

    marinkolulic committed Feb 10, 2021
    Copy the full SHA
    adec1da View commit details
  2. Merge pull request #1122 from marinkolulic/py2

    Update gitdb
    Byron authored Feb 10, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5bb9449 View commit details
Showing with 16 additions and 5 deletions.
  1. +1 −1 Makefile
  2. +1 −1 VERSION
  3. +10 −0 doc/source/changes.rst
  4. +1 −1 git/cmd.py
  5. +1 −1 git/ext/gitdb
  6. +1 −0 git/test/test_git.py
  7. +1 −1 requirements.txt
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ release: clean
force_release: clean
git push --tags origin master
python3 setup.py sdist bdist_wheel
twine upload -s -i byronimo@gmail.com dist/*
twine upload -s -i 763629FEC8788FC35128B5F6EE029D1E5EB40300 dist/*

docker-build:
docker build --quiet -t gitpython:xenial -f Dockerfile .
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.13
2.1.15
10 changes: 10 additions & 0 deletions doc/source/changes.rst
Original file line number Diff line number Diff line change
@@ -2,6 +2,16 @@
Changelog
=========

2.1.15 - Bugfixes
=================

Fix requirements.txt formatting and version lock gitdb2 to <3 for Python 2 compatibility.

2.1.14 - Bugfixes
=================

Fix an issue with `transforming kwargs <https://github.com/gitpython-developers/GitPython/pull/899>`_ passed to the `git` command.

2.1.13 - Bring back Python 2.7 support
======================================

2 changes: 1 addition & 1 deletion git/cmd.py
Original file line number Diff line number Diff line change
@@ -893,7 +893,7 @@ def transform_kwarg(self, name, value, split_single_char_options):
else:
if value is True:
return ["--%s" % dashify(name)]
elif value not in (False, None):
elif value is not False and value is not None:
return ["--%s=%s" % (dashify(name), value)]
return []

1 change: 1 addition & 0 deletions git/test/test_git.py
Original file line number Diff line number Diff line change
@@ -86,6 +86,7 @@ def test_it_transforms_kwargs_into_git_command_arguments(self):

assert_equal(["--max-count"], self.git.transform_kwargs(**{'max_count': True}))
assert_equal(["--max-count=5"], self.git.transform_kwargs(**{'max_count': 5}))
assert_equal(["--max-count=0"], self.git.transform_kwargs(**{'max_count': 0}))
assert_equal([], self.git.transform_kwargs(**{'max_count': None}))

# Multiple args are supported by using lists/tuples
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
gitdb2 (>=2.0.0)
gitdb2>=2,<3