summaryrefslogtreecommitdiff
path: root/git
Commit message (Collapse)AuthorAgeFilesLines
...
* reset default timeout to Nonesroet2021-09-182-6/+6
|
* allow for timeout propagationsroet2021-09-181-9/+15
|
* change default fetch timeout to 60 ssroet2021-09-181-1/+1
|
* Merge pull request #1318 from Yobmod/mainDominic2021-09-095-29/+43
|\ | | | | General fixes for next release
| * Update changelog and versionYobmod2021-08-091-0/+2
| |
| * upgrade sphinx for 3.10 compatYobmod2021-08-091-4/+5
| |
| * try fix for Protocol buy in 3.10 3Yobmod2021-08-091-2/+2
| |
| * try fix for Protocol buy in 3.10 2Yobmod2021-08-091-1/+1
| |
| * try fix for Protocol buy in 3.10Yobmod2021-08-091-2/+8
| |
| * type fixoYobmod2021-08-081-0/+0
| |
| * type fixYobmod2021-08-081-0/+944
| |
| * add type check to conf_encoding (in thoery could be bool or int)Yobmod2021-08-084-959/+6
| |
| * Merge branch 'master' of https://github.com/Yobmod/GitPython into mainyobmod2021-08-081-14/+28
| |\
| | * fix setup.py classifiers, improvefnmatchprocess handler typesyobmod2021-08-081-14/+28
| | |
* | | Assure CWD is readable after acquiring itSebastian Thiel2021-09-051-0/+2
| | | | | | | | | | | | Fixes #1334
* | | Add encoding to utf-8 for fetch_info_lines;f1000242021-08-241-2/+2
| | | | | | | | | | | | Add encoding to utf-8 for fetch_head_info;
* | | Use the Git class type definition within Repo classmethodsMichael Mulich2021-08-181-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(...)`.
* | | Don't fail on import if the working dir isn't valid (#1319)Sebastian Thiel2021-08-121-1/+4
|/ /
* | Merge branch 'gitpython-developers:main' into patch-1Eric Wieser2021-08-031-2/+2
|\ \
| * | Fix trailing whitespace and incorrect overloadEric Wieser2021-08-031-2/+2
| | |
* | | Use get instead of get_valueEric Wieser2021-08-031-1/+1
| | | | | | | | | This won't try and do something silly like convert `username=1` to a number.
* | | Merge branch 'main' into patch-1Eric Wieser2021-08-0317-168/+193
|\ \ \ | |/ /
| * | Add overload to get_value()Dominic2021-08-031-6/+5
| |/
| * Improve type of repo.currently_rebasing_on()Yobmod2021-08-021-2/+2
| |
| * Improve type of repo.blame_incremental()Yobmod2021-08-021-9/+9
| |
| * Choose TypedDict!Yobmod2021-08-021-37/+32
| |
| * Test Dataclass in repo.base.blame() 6Yobmod2021-08-021-6/+5
| |
| * Test Dataclass in repo.base.blame() 5Yobmod2021-08-021-30/+37
| |
| * Test Dataclass in repo.base.blame() 4Yobmod2021-08-021-11/+10
| |
| * Test TypedDict in repo.base.blame() 1Yobmod2021-08-021-13/+14
| |
| * Test TypedDict in repo.base.blame() 2Yobmod2021-08-021-44/+36
| |
| * Test Dataclass in repo.base.blame() 3Yobmod2021-08-021-13/+14
| |
| * Test Dataclass in repo.base.blame() 2Yobmod2021-08-021-2/+2
| |
| * Test Dataclass in repo.base.blame()Yobmod2021-08-022-38/+67
| |
| * Test trailing comma in args (>py3.6?)Yobmod2021-08-021-3/+5
| |
| * Test new union syntax (Pep604)Yobmod2021-08-021-1/+1
| |
| * Minor type fixesYobmod2021-08-022-5/+6
| |
| * Add __future__.annotations to repo/base.pyYobmod2021-08-025-13/+16
| |
| * Fix parse_date typing 7Yobmod2021-08-022-567/+3
| |
| * Fix parse_date typing 6Yobmod2021-08-022-1/+567
| |
| * Fix parse_date typing 5Yobmod2021-08-021-2/+7
| |
| * Fix parse_date typing 4Yobmod2021-08-021-12/+7
| |
| * Fix parse_date typing 3Yobmod2021-08-021-6/+4
| |
| * Fix parse_date typing 2Yobmod2021-08-021-1/+3
| |
| * Fix parse_date typingYobmod2021-08-021-3/+5
| |
| * Add __future__.annotations to cmd.py2Yobmod2021-08-021-3/+3
| |
| * Add __future__.annotations to cmd.pyYobmod2021-08-021-7/+7
| |
| * rmv 3.6 READMEYobmod2021-08-021-6/+5
| |
| * rmv 3.6 from setup.pyYobmod2021-08-022-3/+4
| |
| * rmv 3.6 from CI matrixYobmod2021-08-022-4/+3
| |