Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Assure CWD is readable after acquiring itFix-#1334 | Sebastian Thiel | 2021-09-05 | 1 | -0/+2 |
| | | | | Fixes #1334 | ||||
* | Add encoding to utf-8 for fetch_info_lines; | f100024 | 2021-08-24 | 1 | -2/+2 |
| | | | | Add encoding to utf-8 for fetch_head_info; | ||||
* | Use the Git class type definition within Repo classmethods | Michael Mulich | 2021-08-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the GitCommandWrapperType definition to be used within the Repo classmethods. This change follows the intended purpose as stated in the code, "Subclasses may easily bring in their own custom types by placing a constructor or type here." The usecase that prompted this change has to do with `GIT_SSH_COMMAND`. The goal is to setup a custom `Git` class with knowledge of the value, something like as follows ```python from git import Git as BaseGit, Repo as BaseRepo class Git(BaseGit): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) # For example, assign the SSH command using the current flask # app's configured setting. self.update_environment(GIT_SSH_COMMAND=current_app.config['GIT_SSH_COMMAND']) class Repo(BaseRepo): GitCommandWrapperType = _Git ``` With this change, the above example will allow the developer to use `Repo.clone_from(...)` with the indended outcome. Otherwise the developer will have two differing result when using `Repo(...)` vs `Repo.clone_from(...)`. | ||||
* | overhaul CONTIRIBUTING.md | Sebastian Thiel | 2021-08-18 | 1 | -8/+7 |
| | | | | Thanks to #1322 | ||||
* | Don't fail on import if the working dir isn't valid (#1319) | Sebastian Thiel | 2021-08-12 | 1 | -1/+4 |
| | |||||
* | Merge pull request #1314 from eric-wieser/patch-1 | Dominic | 2021-08-06 | 2 | -13/+35 |
|\ | | | | | Do not call get_user_id if it is not needed | ||||
| * | Update test_util.py | Eric Wieser | 2021-08-04 | 1 | -1/+4 |
| | | |||||
| * | Try a better test | Eric Wieser | 2021-08-04 | 1 | -3/+18 |
| | | |||||
| * | Fix test | Eric Wieser | 2021-08-03 | 1 | -9/+9 |
| | | |||||
| * | Merge branch 'gitpython-developers:main' into patch-1 | Eric Wieser | 2021-08-03 | 1 | -2/+2 |
| |\ | |/ |/| | |||||
* | | Merge pull request #1315 from eric-wieser/patch-2 | Dominic | 2021-08-03 | 1 | -2/+2 |
|\ \ | | | | | | | Fix trailing whitespace and incorrect overload | ||||
| * | | Fix trailing whitespace and incorrect overload | Eric Wieser | 2021-08-03 | 1 | -2/+2 |
|/ / | |||||
| * | Use get instead of get_value | Eric Wieser | 2021-08-03 | 1 | -1/+1 |
| | | | | | | This won't try and do something silly like convert `username=1` to a number. | ||||
| * | Merge branch 'main' into patch-1 | Eric Wieser | 2021-08-03 | 22 | -224/+252 |
| |\ | |/ |/| | |||||
* | | Add overload to get_value() | Dominic | 2021-08-03 | 1 | -6/+5 |
| | | |||||
* | | Merge pull request #1311 from Yobmod/main | Dominic | 2021-08-03 | 22 | -218/+247 |
|\ \ | | | | | | | Drop 3.6, increase type strictness | ||||
| * | | Add Typing :: Typed to setup.py | Yobmod | 2021-08-03 | 2 | -1/+2 |
| | | | |||||
| * | | Improve type of repo.currently_rebasing_on() | Yobmod | 2021-08-02 | 1 | -2/+2 |
| | | | |||||
| * | | Improve type of repo.blame_incremental() | Yobmod | 2021-08-02 | 1 | -9/+9 |
| | | | |||||
| * | | Choose TypedDict! | Yobmod | 2021-08-02 | 1 | -37/+32 |
| | | | |||||
| * | | Test Dataclass in repo.base.blame() 6 | Yobmod | 2021-08-02 | 1 | -6/+5 |
| | | | |||||
| * | | Test Dataclass in repo.base.blame() 5 | Yobmod | 2021-08-02 | 1 | -30/+37 |
| | | | |||||
| * | | Test Dataclass in repo.base.blame() 4 | Yobmod | 2021-08-02 | 1 | -11/+10 |
| | | | |||||
| * | | Test TypedDict in repo.base.blame() 1 | Yobmod | 2021-08-02 | 1 | -13/+14 |
| | | | |||||
| * | | Test TypedDict in repo.base.blame() 2 | Yobmod | 2021-08-02 | 1 | -44/+36 |
| | | | |||||
| * | | Test Dataclass in repo.base.blame() 3 | Yobmod | 2021-08-02 | 1 | -13/+14 |
| | | | |||||
| * | | Test Dataclass in repo.base.blame() 2 | Yobmod | 2021-08-02 | 1 | -2/+2 |
| | | | |||||
| * | | Test Dataclass in repo.base.blame() | Yobmod | 2021-08-02 | 2 | -38/+67 |
| | | | |||||
| * | | Test trailing comma in args (>py3.6?) | Yobmod | 2021-08-02 | 1 | -3/+5 |
| | | | |||||
| * | | Merge branch 'main' of https://github.com/Yobmod/GitPython | Yobmod | 2021-08-02 | 2 | -0/+3 |
| |\ \ | |||||
| | * \ | Merge branch 'gitpython-developers:main' into main | Dominic | 2021-08-02 | 2 | -0/+3 |
| | |\ \ | |_|/ / |/| | | | |||||
| * | | | Test new union syntax (Pep604) | Yobmod | 2021-08-02 | 1 | -1/+1 |
| |/ / | |||||
| * | | Minor type fixes | Yobmod | 2021-08-02 | 2 | -5/+6 |
| | | | |||||
| * | | Add __future__.annotations to repo/base.py | Yobmod | 2021-08-02 | 6 | -14/+18 |
| | | | |||||
| * | | Fix parse_date typing 7 | Yobmod | 2021-08-02 | 2 | -567/+3 |
| | | | |||||
| * | | Fix parse_date typing 6 | Yobmod | 2021-08-02 | 2 | -1/+567 |
| | | | |||||
| * | | Fix parse_date typing 5 | Yobmod | 2021-08-02 | 1 | -2/+7 |
| | | | |||||
| * | | Fix parse_date typing 4 | Yobmod | 2021-08-02 | 1 | -12/+7 |
| | | | |||||
| * | | Fix parse_date typing 3 | Yobmod | 2021-08-02 | 1 | -6/+4 |
| | | | |||||
| * | | Fix parse_date typing 2 | Yobmod | 2021-08-02 | 1 | -1/+3 |
| | | | |||||
| * | | Fix parse_date typing | Yobmod | 2021-08-02 | 1 | -3/+5 |
| | | | |||||
| * | | Add __future__.annotations to cmd.py2 | Yobmod | 2021-08-02 | 1 | -3/+3 |
| | | | |||||
| * | | Add __future__.annotations to cmd.py | Yobmod | 2021-08-02 | 1 | -7/+7 |
| | | | |||||
| * | | rmv 3.6 README | Yobmod | 2021-08-02 | 3 | -53/+51 |
| | | | |||||
| * | | rmv 3.6 from setup.py | Yobmod | 2021-08-02 | 4 | -10/+12 |
| | | | |||||
| * | | rmv 3.6 from CI matrix | Yobmod | 2021-08-02 | 3 | -5/+4 |
| | | | |||||
| * | | increase mypy strictness (warn unused ignored and warn unreachable) | Yobmod | 2021-08-02 | 10 | -23/+29 |
| | | | |||||
| * | | Merge branch 'main' of https://github.com/Yobmod/GitPython | Yobmod | 2021-08-02 | 0 | -0/+0 |
| |\ \ | |||||
| | * \ | Merge branch 'gitpython-developers:main' into main | Dominic | 2021-08-02 | 0 | -0/+0 |
| | |\ \ | |||||
| * | | | | increase mypy strictness (warn unused ignored) | Yobmod | 2021-08-02 | 5 | -13/+14 |
| |/ / / |