summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Avoid taking a lock for readingindex-no-read-lockSebastian Thiel2022-01-072-15/+2
| | | | | | | This isn't needed as git will replace this file atomicially, hence we always see a fully written file when reading. Only when writing we need to obtain a lock.
* DOC: fix typoyogabonito2021-12-011-2/+2
|
* Revert the use of typing_extensions in py3.8+Michał Górny2021-12-011-1/+1
| | | | | | The original change requiring py3.10 TypeGuard (and matching typing_extensions) has been reverted, so revert the requirement on typing_extensions as well.
* Extend IterableList[PushInfo] instead of IterableListSjoerd Langkemper2021-11-131-17/+16
|
* Specify type for PushInfoList.errorSjoerd Langkemper2021-11-131-1/+1
|
* Fix type handing on PushInfoListSjoerd Langkemper2021-11-131-3/+4
|
* Add raise_if_error() to tutorialSjoerd Langkemper2021-11-131-1/+2
|
* Test raise_if_errorSjoerd Langkemper2021-11-131-0/+6
|
* Rename exception to error, raise_on_error to raise_if_errorSjoerd Langkemper2021-11-131-5/+5
|
* Test that return value of push is a list-like objectSjoerd Langkemper2021-11-131-1/+4
|
* Let remote.push return a PushInfoListSjoerd Langkemper2021-11-131-3/+20
| | | | | | | List-like, so that it's backward compatible. But it has a new method raise_on_error, that throws an exception if anything failed to push. Related to #621
* Remove Sphinx workaroundHugo van Kemenade2021-11-111-4/+1
|
* Sphinx 4.3.0 will be needed for Python 3.10Hugo van Kemenade2021-10-141-1/+4
|
* Add support for Python 3.10Hugo van Kemenade2021-10-143-2/+3
|
* It's python, so stuff breaks with patches…Sebastian Thiel2021-10-031-1/+2
| | | | | | …https://github.com/pytest-dev/pytest-cov/pull/472 Break a few to fix a few.
* Revert "Replace wildcard imports with concrete imports"Trym Bremnes2021-10-036-32/+30
| | | | | | | | | | | This reverts commit 53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5. The reason for the revert is that the commit in question introduced a regression where certain modules, functions and classes that were exposed before were no longer exposed. See https://github.com/gitpython-developers/GitPython/pull/1352#issuecomment-932757204 for additional information.
* Replace wildcard imports with concrete importsTrym Bremnes2021-10-016-30/+32
| | | | | | | All `from <module> import *` has now been replaced by `from <module> import X, Y, ...`. Contributes to #1349
* Fix broken test requirementsKet3r2021-09-301-1/+1
| | | | | | | The ddt package changed the function signature in version 1.4.3 from idata(iterable) to idata(iterable, index_len). Hopefully this was just a mistake and the new argument will be optional in future versions (see issue datadriventests/ddt#97)
* Merge pull request #1346 from rra/type-fixesDominic2021-09-244-4/+11
|\ | | | | Fix typing issues with delete_head and Remote.add
| * Fix typing issues with delete_head and Remote.addRuss Allbery2021-09-204-4/+11
|/ | | | | | | | | | | | | | delete_head and Head.delete historically accept either Head objects or a str name of a head. Adjust the typing to match. This unfortunately requires suppressing type warnings in the signature of RemoteReference.delete, since it inherits from Head but does not accept str (since it needs access to the richer data of RemoteReference). Using assignment to make add an alias for create unfortunately confuses mypy, since it loses track of the fact that it's a classmethod and starts treating it like a staticmethod. Replace with a stub wrapper instead.
* prepare new release, bump version patch level…3.1.24Sebastian Thiel2021-09-182-3/+13
| | | | …which could probably have been a minor version last time.
* Add a way to force status codes inside AutoInterrupt._terminate, and let ↵sroet2021-09-182-11/+22
| | | | tests use it
* set timeout to a non-zero valuesroet2021-09-181-2/+2
|
* two spaces before commentssroet2021-09-181-1/+1
|
* fetch is also to quick on CI, only test pullsroet2021-09-181-1/+1
|
* make test timeout strictersroet2021-09-181-2/+2
|
* fix typo'ssroet2021-09-181-1/+1
|
* make flake8 and mypy happysroet2021-09-181-10/+16
|
* go for pytest.raises and test that the functions runsroet2021-09-181-3/+3
|
* update tests and add a comment about different behaviour of 'push' vs 'fetch'sroet2021-09-182-3/+19
|
* reuse kill_after_timeout kwargsroet2021-09-182-31/+71
|
* update docstringsroet2021-09-181-1/+1
|
* reset default timeout to Nonesroet2021-09-182-6/+6
|
* propagate kwargs in do_test_fetchsroet2021-09-181-2/+2
|
* also test a call to 'push' with 10s timeoutsroet2021-09-181-1/+1
|
* add test timeout with the old 10 s timeoutsroet2021-09-181-2/+2
|
* allow for timeout propagationsroet2021-09-181-9/+15
|
* change default fetch timeout to 60 ssroet2021-09-181-1/+1
|
* Fix titleFabian Affolter2021-09-101-1/+1
|
* Fix version discrepancy3.1.23Sebastian Thiel2021-09-102-2/+2
|
* bump version3.1.22Sebastian Thiel2021-09-101-1/+1
|
* Update changes.rstDominic2021-09-091-1/+4
|
* Update changes.rstDominic2021-09-091-1/+16
| | | Update changes for 3.1.21
* Merge pull request #1337 from Yobmod/mainDominic2021-09-091-9/+12
|\ | | | | Import README.md into setup.py
| * Update setup.pyDominic2021-09-091-0/+1
| | | | | | flake8 fix
| * Update setup.pyDominic2021-09-091-8/+7
| | | | | | format path -> os.path in prep for pathlib
| * Update setup.pyDominic2021-09-091-1/+4
|/ | | Import README.md
* Merge pull request #1318 from Yobmod/mainDominic2021-09-0912-60/+106
|\ | | | | General fixes for next release
| * Update pythonpackage.ymlDominic2021-09-091-1/+1
| | | | | | 3.7.0 not available
| * Update pythonpackage.ymlDominic2021-09-091-1/+1
| | | | | | Add minor versions to test matrix