summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Run actions on main branchmasterSebastian Thiel2021-04-011-3/+3
|
* Merge pull request #1198 from RyaxTech/replace-password-in-uri-by-starsSebastian Thiel2021-03-195-14/+81
|\ | | | | Replace password in URI by stars if present to avoid leaking secrets in logs
| * Use continue instead of raising errorMichael Mercier2021-03-181-2/+2
| |
| * Use copy and not inplace remove password + working case testMichael Mercier2021-03-164-13/+21
| |
| * Add more test and remove password also from error logsMichael Mercier2021-03-153-10/+24
| |
| * Put remove password in the utils and use it also in cmd.executeMichael Mercier2021-03-153-14/+35
| |
| * Use urllib instead of custom parsingMichael Mercier2021-03-151-4/+10
| |
| * Better assert messageMichael Mercier2021-03-121-2/+3
| |
| * Use format instead of f-stringMichael Mercier2021-03-121-1/+1
| |
| * Replace password in URI by stars if present + testMichael Mercier2021-03-112-1/+18
| |
* | remove commentSebastian Thiel2021-03-171-2/+0
| |
* | Merge pull request #1202 from Yobmod/mainSebastian Thiel2021-03-1711-228/+338
|\ \ | | | | | | Add more types
| * | chane HEAD typing to SymbolicReferenceYobmod2021-03-161-1/+1
| | |
| * | fixes from #1202Yobmod2021-03-161-12/+16
| | |
| * | add types to git.__init__, compat, db, diff, exc, utilYobmod2021-03-1611-215/+321
| | |
| * | rebase on masterYobmod2021-03-162-2/+14
| | |
* | | Fix changes.rst…Sebastian Thiel2021-03-141-1/+1
| | |
* | | Set an end-date for python 3.5 supportSebastian Thiel2021-03-132-2/+7
| | |
* | | Merge pull request #1193 from bertwesarg/revert-sorted-kwargsSebastian Thiel2021-03-131-1/+8
|\ \ \ | | | | | | | | Restore order of operators before executing the git command only for < py3.6
| * | | Restore order of operators before executing the git command only for < py3.6Bert Wesarg2021-03-131-1/+8
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Since Python 3.6 kwargs order will be preserved and thus provide a stable order, therefore we can make 89ade7bfff534ae799d7dd693b206931d5ed3d4f conditional based on the Python. Thus make it able to pass ordered options to Git commands. See: https://www.python.org/dev/peps/pep-0468/
* | | Merge pull request #1192 from Yobmod/mainSebastian Thiel2021-03-126-125/+201
|\ \ \ | |/ / |/| / | |/ Add initial types to repo/fun.py
| * Combined commits to add types to base.py and fun.pyyobmod2021-03-047-127/+203
| |
* | Merge pull request #1188 from Yobmod/mainSebastian Thiel2021-03-0310-5/+26
|\ \ | |/ | | Drop python 3.4, prep for adding types
| * add newlinesyobmod2021-02-283-2/+2
| |
| * add newlineyobmod2021-02-281-1/+1
| |
| * move cmd.py types to another branch, mark typing import as unusedyobmod2021-02-282-10/+7
| |
| * add py.typed, mypy.ini and git/types.pyyobmod2021-02-284-0/+11
| |
| * add testrunner.py to run all tests (as hook for static analysis)yobmod2021-02-281-0/+7
| |
| * update .gitignore prior to typesyobmod2021-02-28210-209/+3
| |
| * drop py3.4 supportyobmod2021-02-28215-9/+221
| |
* | Use UTF-8 encoding when getting information about packed refsKlyahin Aleksey2021-03-031-1/+1
| |
* | bump patch level3.1.14Sebastian Thiel2021-02-282-2/+2
| |
* | Merge pull request #1184 from Yobmod/mainSebastian Thiel2021-02-284-3/+5
|\ \ | |/ | | Add python 3.9
| * add python 3.9 supportyobmod2021-02-264-3/+5
| |
| * rebase on masteryobmod2021-02-267-8/+10
| |
| * rmv temp fileYobmod2021-02-241-18/+0
| |
| * drop python 3.4, update .gitignoreYobmod2021-02-248-10/+26
|/
* Merge pull request #1126 from larsks/feature/changelogSebastian Thiel2021-02-171-1/+7
|\ | | | | add a changelog entry for #1124
| * add a changelog entry for #1124Lars Kellogg-Stedman2021-02-171-1/+7
|/ | | | | - add a changelog entry for #1124 - correct duplicate entry for 3.1.12 -> 3.1.13
* Merge pull request #1124 from larsks/feature/replaceSebastian Thiel2021-02-172-7/+56
|\ | | | | add replace method to git.Commit
| * add replace method to git.CommitLars Kellogg-Stedman2021-02-152-7/+56
|/ | | | | | | | | | | 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 changes.rstSebastian Thiel2021-02-091-1/+1
|
* version bump3.1.13Sebastian Thiel2021-02-093-1/+7
|
* Merge pull request #1119 from yvolchkov/masterSebastian Thiel2021-02-052-1/+8
|\ | | | | Fix inheritance issue at commit.iter_items
| * Fix inheritance issue at commit.iter_itemsYuri Volchkov2021-02-052-1/+8
|/ | | | | | | 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>
* fix universal_newlines TypeErrorx-santiaga-x2021-01-281-1/+3
| | | | Fixes #1116
* Make git.cmd.Git.CatFileContentStream iterableHex0522021-01-171-0/+3
| | | Add __next__ method to git.cmd.Git.CatFileContentStream, so it can actually be used as an iterable
* fix(fetch): use the correct FETCH_HEAD from within a worktreeGiel van Schijndel2021-01-141-3/+2
| | | | | | | | FETCH_HEAD is one of the symbolic references local to the current worktree and as such should _not_ be looked up in the 'common_dir'. But instead of just hard coding the "right thing" (git_dir) lets defer this to the SymbolicReference class which already contains this knowledge in its 'abspath' property.
* Add license argument to setup.pyHarmon2021-01-101-0/+1
| | | | Resolves #1106
* Fix package name in intro docs to reflect actual pypi name (with capitalization)Kevin Reynolds2021-01-091-1/+1
|