Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid taking a lock for readingindex-no-read-lock | Sebastian Thiel | 2022-01-07 | 2 | -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 typo | yogabonito | 2021-12-01 | 1 | -2/+2 |
| | |||||
* | Revert the use of typing_extensions in py3.8+ | Michał Górny | 2021-12-01 | 1 | -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 IterableList | Sjoerd Langkemper | 2021-11-13 | 1 | -17/+16 |
| | |||||
* | Specify type for PushInfoList.error | Sjoerd Langkemper | 2021-11-13 | 1 | -1/+1 |
| | |||||
* | Fix type handing on PushInfoList | Sjoerd Langkemper | 2021-11-13 | 1 | -3/+4 |
| | |||||
* | Add raise_if_error() to tutorial | Sjoerd Langkemper | 2021-11-13 | 1 | -1/+2 |
| | |||||
* | Test raise_if_error | Sjoerd Langkemper | 2021-11-13 | 1 | -0/+6 |
| | |||||
* | Rename exception to error, raise_on_error to raise_if_error | Sjoerd Langkemper | 2021-11-13 | 1 | -5/+5 |
| | |||||
* | Test that return value of push is a list-like object | Sjoerd Langkemper | 2021-11-13 | 1 | -1/+4 |
| | |||||
* | Let remote.push return a PushInfoList | Sjoerd Langkemper | 2021-11-13 | 1 | -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 workaround | Hugo van Kemenade | 2021-11-11 | 1 | -4/+1 |
| | |||||
* | Sphinx 4.3.0 will be needed for Python 3.10 | Hugo van Kemenade | 2021-10-14 | 1 | -1/+4 |
| | |||||
* | Add support for Python 3.10 | Hugo van Kemenade | 2021-10-14 | 3 | -2/+3 |
| | |||||
* | It's python, so stuff breaks with patches… | Sebastian Thiel | 2021-10-03 | 1 | -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 Bremnes | 2021-10-03 | 6 | -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 imports | Trym Bremnes | 2021-10-01 | 6 | -30/+32 |
| | | | | | | | All `from <module> import *` has now been replaced by `from <module> import X, Y, ...`. Contributes to #1349 | ||||
* | Fix broken test requirements | Ket3r | 2021-09-30 | 1 | -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-fixes | Dominic | 2021-09-24 | 4 | -4/+11 |
|\ | | | | | Fix typing issues with delete_head and Remote.add | ||||
| * | Fix typing issues with delete_head and Remote.add | Russ Allbery | 2021-09-20 | 4 | -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.24 | Sebastian Thiel | 2021-09-18 | 2 | -3/+13 |
| | | | | …which could probably have been a minor version last time. | ||||
* | Add a way to force status codes inside AutoInterrupt._terminate, and let ↵ | sroet | 2021-09-18 | 2 | -11/+22 |
| | | | | tests use it | ||||
* | set timeout to a non-zero value | sroet | 2021-09-18 | 1 | -2/+2 |
| | |||||
* | two spaces before comments | sroet | 2021-09-18 | 1 | -1/+1 |
| | |||||
* | fetch is also to quick on CI, only test pull | sroet | 2021-09-18 | 1 | -1/+1 |
| | |||||
* | make test timeout stricter | sroet | 2021-09-18 | 1 | -2/+2 |
| | |||||
* | fix typo's | sroet | 2021-09-18 | 1 | -1/+1 |
| | |||||
* | make flake8 and mypy happy | sroet | 2021-09-18 | 1 | -10/+16 |
| | |||||
* | go for pytest.raises and test that the functions run | sroet | 2021-09-18 | 1 | -3/+3 |
| | |||||
* | update tests and add a comment about different behaviour of 'push' vs 'fetch' | sroet | 2021-09-18 | 2 | -3/+19 |
| | |||||
* | reuse kill_after_timeout kwarg | sroet | 2021-09-18 | 2 | -31/+71 |
| | |||||
* | update docstring | sroet | 2021-09-18 | 1 | -1/+1 |
| | |||||
* | reset default timeout to None | sroet | 2021-09-18 | 2 | -6/+6 |
| | |||||
* | propagate kwargs in do_test_fetch | sroet | 2021-09-18 | 1 | -2/+2 |
| | |||||
* | also test a call to 'push' with 10s timeout | sroet | 2021-09-18 | 1 | -1/+1 |
| | |||||
* | add test timeout with the old 10 s timeout | sroet | 2021-09-18 | 1 | -2/+2 |
| | |||||
* | allow for timeout propagation | sroet | 2021-09-18 | 1 | -9/+15 |
| | |||||
* | change default fetch timeout to 60 s | sroet | 2021-09-18 | 1 | -1/+1 |
| | |||||
* | Fix title | Fabian Affolter | 2021-09-10 | 1 | -1/+1 |
| | |||||
* | Fix version discrepancy3.1.23 | Sebastian Thiel | 2021-09-10 | 2 | -2/+2 |
| | |||||
* | bump version3.1.22 | Sebastian Thiel | 2021-09-10 | 1 | -1/+1 |
| | |||||
* | Update changes.rst | Dominic | 2021-09-09 | 1 | -1/+4 |
| | |||||
* | Update changes.rst | Dominic | 2021-09-09 | 1 | -1/+16 |
| | | | Update changes for 3.1.21 | ||||
* | Merge pull request #1337 from Yobmod/main | Dominic | 2021-09-09 | 1 | -9/+12 |
|\ | | | | | Import README.md into setup.py | ||||
| * | Update setup.py | Dominic | 2021-09-09 | 1 | -0/+1 |
| | | | | | | flake8 fix | ||||
| * | Update setup.py | Dominic | 2021-09-09 | 1 | -8/+7 |
| | | | | | | format path -> os.path in prep for pathlib | ||||
| * | Update setup.py | Dominic | 2021-09-09 | 1 | -1/+4 |
|/ | | | Import README.md | ||||
* | Merge pull request #1318 from Yobmod/main | Dominic | 2021-09-09 | 12 | -60/+106 |
|\ | | | | | General fixes for next release | ||||
| * | Update pythonpackage.yml | Dominic | 2021-09-09 | 1 | -1/+1 |
| | | | | | | 3.7.0 not available | ||||
| * | Update pythonpackage.yml | Dominic | 2021-09-09 | 1 | -1/+1 |
| | | | | | | Add minor versions to test matrix |