summaryrefslogtreecommitdiff
path: root/git/objects
Commit message (Collapse)AuthorAgeFilesLines
...
* Add types to objects.util.py ProcessStreamAdapterYobmod2021-05-201-4/+4
|
* Change Actor to forwardrefYobmod2021-05-201-3/+7
|
* Change Popen to forwardrefYobmod2021-05-201-1/+1
|
* Mypy fixesYobmod2021-05-202-1/+3
|
* flake8 fixesYobmod2021-05-201-1/+1
|
* Mypy fixesYobmod2021-05-203-15/+21
|
* Add types to objects.util.py tzoffset parse_actor_and_date()Yobmod2021-05-201-11/+12
|
* Add initial types to objects.util.pyYobmod2021-05-182-6/+16
|
* Add types to objects.tag.pyYobmod2021-05-181-4/+12
|
* Add types to objects.blob.pyYobmod2021-05-182-2/+3
|
* Add types to objects.base.pyYobmod2021-05-181-20/+43
|
* add initial types to remote.pyyobmod2021-05-032-3/+4
|
* add replace method to git.CommitLars Kellogg-Stedman2021-02-151-7/+36
| | | | | | | | | | | This adds a replace method to git.Commit. The replace method returns a copy of the Commit object with attributes replaced from keyword arguments. For example: >>> old = repo.head.commit >>> new = old.replace(message='This is a test') closes #1123
* Fix inheritance issue at commit.iter_itemsYuri Volchkov2021-02-051-1/+1
| | | | | | | The iterator used to yield Commit() objects, which does not play well with inheritance. Yield cls() instead. Signed-off-by: Yuri Volchkov <yuri@volch.org>
* Added ability to define git environment in submodule add/update methodsIgor Solovey2020-11-191-4/+16
|
* accept datetime instances as datesAlba Mendez2020-08-311-0/+5
| | | | | | There's no easy way to re-create a commit (i.e. for rewriting purposes), because dates must be formatted as strings, passed, then parsed back. This patch allows parse_date() to accept datetime instances, such as those produced by from_timestamp() above.
* Fixed all warnings in documentation and updated Makefile to treat warnings ↵Kian Cross2020-07-131-1/+1
| | | | as errors.
* Fix exception causes all over the codebaseRam Rachum2020-06-143-16/+16
|
* allow setting depth when cloning a submoduleLiam Beguin2020-05-021-1/+9
| | | | Signed-off-by: Liam Beguin <liambeguin@gmail.com>
* fix: wrong refs 'HEAD' exceptionDong Shin2020-03-211-3/+4
|
* Replace invalid bytes when decoding TagObject streamHarmon2020-02-201-1/+1
| | | | Fixes #943
* Replace deprecated Logger.warn with Logger.warningHarmon2020-02-162-2/+2
|
* Remove and replace compat.text_typeHarmon2020-02-082-5/+3
|
* Remove and replace compat.string_typesHarmon2020-02-082-4/+2
|
* Remove checks for Python 2 and/or 3Harmon2020-02-081-4/+1
|
* Remove and replace compat.xrangeHarmon2020-02-081-2/+1
|
* Remove and replace compat.bchrHarmon2020-02-081-3/+2
|
* Remove compat.byte_ordHarmon2020-02-081-5/+4
|
* Added parsing for '@1400000000 +0000' date format as used by git commit hooks.Dries2019-12-291-0/+2
|
* Merge branch 'fix/deepsource-issues' of github.com:imkaka/GitPython into ↵Anil Khatri2019-10-231-0/+3
|\ | | | | | | fix/deepsource-issues
| * Merge branch 'master' into fix/deepsource-issuesAnil Khatri2019-10-231-0/+3
| |\
| | * Fix pickling of tzoffsetUwe L. Korn2019-10-191-0/+3
| | | | | | | | | | | | Fixes #650
* | | resolved all minor issues arised by last fix patchAnil Khatri2019-10-231-1/+1
|/ /
* | fix Loop variable used outside the loopAnil Khatri2019-10-231-1/+1
|/
* removed Unnecessary “else” after “return”Pratik Anurag2019-10-151-2/+1
|
* removed Unnecessary “else” after “return”Pratik Anurag2019-10-151-2/+1
|
* removed trailing whitespacesPratik Anurag2019-10-151-2/+2
|
* removed trailing whitespacesPratik Anurag2019-10-151-1/+1
|
* removed trailing whitespacesPratik Anurag2019-10-151-1/+1
|
* renamed unused variablesPratik Anurag2019-10-151-1/+1
|
* renamed unused variablesPratik Anurag2019-10-151-2/+2
|
* changed unused variables assingmentPratik Anurag2019-10-151-1/+1
|
* fix decoding problemishepard2019-09-161-2/+3
|
* Fix #889: Add DeepSource config and fix some major issuesMohit Solanki2019-09-101-3/+2
|
* Skip on keyerrorSantos Gallegos2019-07-201-2/+3
|
* Don't assume there is a tag author in tagsSebastian Thiel2019-07-061-2/+3
| | | | Fixes #842
* Update commit.py constructor docstringDavid Host2019-03-151-1/+1
| | | Fixes issue #806: Commit requires author parameter to be of Actor type, not string.
* The proper way is return, not raise StopIterationMichael Käufl2018-10-211-1/+1
| | | | | | | See PEP 479[1] which is part of Python 3.7[2]. [1]: https://www.python.org/dev/peps/pep-0479/ [2]: https://docs.python.org/3/whatsnew/3.7.html#changes-in-python-behavior
* Avoid from_timestamp() function to raise an exception when the offset is ↵ishepard2018-04-041-2/+5
| | | | | | greater or lower than 24 hours. Add tests that exercise the new behaviour
* Rewrite unnecessary dict/list/tuple calls as literalsHugo2018-03-187-16/+16
|