| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'main' into addtypes | Dominic | 2021-05-03 | 1 | -0/+0 |
| |\ | |||||
| | * | Fix flake8 | Sebastian Thiel | 2021-04-24 | 1 | -2/+2 |
| | | | |||||
| | * | Use typing-extensions only on Python < 3.8 | Michał Górny | 2021-04-23 | 5 | -4/+16 |
| | | | | | | | | | | | | | All necessary attributes are available in the built-in typing module since Python 3.8. Use typing-extensions only for older versions of Python, and avoid the unnecessary dep in 3.8+. | ||||
| | * | improvement(mypy): ignore false positives | Giel van Schijndel | 2021-04-23 | 3 | -4/+4 |
| | | | |||||
| | * | improvement: teach mypy how to deal with wildcard-imported objects | Giel van Schijndel | 2021-04-23 | 2 | -2/+3 |
| | | | | | | | | | | | By telling it where it's imported from in one case and telling it to ignore it in another. | ||||
| | * | improvement: teach mypy that Object.type is not always supposed to be None | Giel van Schijndel | 2021-04-23 | 1 | -1/+2 |
| | | | |||||
| | * | fix(mypy): properly describe link between parameter and return types | Giel van Schijndel | 2021-04-23 | 1 | -2/+28 |
| | | | | | | | | | | | | | | | | | This gives mypy all information that it needs to determine what the return type of a function call is *iff* it knows the argument's type. As a result it can now stop complaining about passing None to str.join() in exc.py. | ||||
| | * | fix(types): get the os.PathLike type as correctly as possible | Giel van Schijndel | 2021-04-23 | 1 | -2/+16 |
| | | | | | | | | | | | This should make our internal PathLike type compatible with Python < 3.6 and < 3.9. | ||||
| | * | Fix missing stderr when the progress parameter of _clone is None | Jingyang Liang | 2021-04-23 | 1 | -5/+3 |
| | | | |||||
| | * | Revert compiling GitCommand shell messages | jmcgill298 | 2021-04-22 | 2 | -5/+7 |
| | | | |||||
| | * | Update remote.py | Spring Burst | 2021-04-21 | 1 | -1/+0 |
| | | | | | | | Format code | ||||
| | * | Remove windows special handling | Spring Burst | 2021-04-21 | 1 | -10/+1 |
| | | | | | | | Remove windows special handling when create Remote | ||||
| | * | Set daemon attribute instead of using setDaemon method that was deprecated ↵ | Karthikeyan Singaravelan | 2021-04-17 | 1 | -1/+1 |
| | | | | | | | | | in Python 3.10 | ||||
| | * | refactor; add failing test to validate #1210 | Sebastian Thiel | 2021-04-14 | 2 | -53/+54 |
| | | | |||||
| | * | Merge pull request #1198 from RyaxTech/replace-password-in-uri-by-stars | Sebastian Thiel | 2021-03-19 | 3 | -13/+47 |
| | |\ | | | | | | | Replace password in URI by stars if present to avoid leaking secrets in logs | ||||
| | | * | Use continue instead of raising error | Michael Mercier | 2021-03-18 | 1 | -2/+2 |
| | | | | |||||
| | | * | Use copy and not inplace remove password + working case test | Michael Mercier | 2021-03-16 | 2 | -10/+12 |
| | | | | |||||
| | | * | Add more test and remove password also from error logs | Michael Mercier | 2021-03-15 | 2 | -9/+8 |
| | | | | |||||
| | | * | Put remove password in the utils and use it also in cmd.execute | Michael Mercier | 2021-03-15 | 3 | -14/+35 |
| | | | | |||||
| | | * | Use urllib instead of custom parsing | Michael Mercier | 2021-03-15 | 1 | -4/+10 |
| | | | | |||||
| | | * | Replace password in URI by stars if present + test | Michael Mercier | 2021-03-11 | 1 | -1/+7 |
| | | | | |||||
| | | * | Merge pull request #1188 from Yobmod/main | Sebastian Thiel | 2021-03-03 | 2 | -0/+6 |
| | | |\ | | | | | | | | | Drop python 3.4, prep for adding types | ||||
| | | * | | Use UTF-8 encoding when getting information about packed refs | Klyahin Aleksey | 2021-03-03 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | remove comment | Sebastian Thiel | 2021-03-17 | 1 | -2/+0 |
| | | | | | |||||
| | * | | | chane HEAD typing to SymbolicReference | Yobmod | 2021-03-16 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | fixes from #1202 | Yobmod | 2021-03-16 | 1 | -12/+16 |
| | | | | | |||||
| | * | | | add types to git.__init__, compat, db, diff, exc, util | Yobmod | 2021-03-16 | 10 | -215/+320 |
| | | | | | |||||
| | * | | | rebase on master | Yobmod | 2021-03-16 | 1 | -1/+8 |
| | | | | | |||||
| | * | | | Combined commits to add types to base.py and fun.py | yobmod | 2021-03-04 | 3 | -125/+198 |
| | | |/ | |/| | |||||
| * | | | add types to PushInfo.__init__() .remote_ref() and .old_commit() | yobmod | 2021-05-03 | 1 | -4/+4 |
| | | | | |||||
| * | | | update type of FetchInfo.refresh() to use Literal | yobmod | 2021-05-03 | 1 | -2/+2 |
| | | | | |||||
| * | | | copy sys.version checks for literal and final to git.types | yobmod | 2021-05-03 | 1 | -0/+5 |
| | | | | |||||
| * | | | add initial types to remote.py | yobmod | 2021-05-03 | 17 | -231/+340 |
| | | | | |||||
| * | | | add types to git.compat and git.diff | yobmod | 2021-03-02 | 5 | -64/+91 |
| | | | | |||||
| * | | | add types to git.db and git.exc | yobmod | 2021-03-01 | 2 | -20/+39 |
| | | | | |||||
| * | | | add types to git.util and git.__init__ | yobmod | 2021-03-01 | 3 | -57/+68 |
| | | | | |||||
| * | | | start add types to util.py | yobmod | 2021-02-28 | 5 | -97/+135 |
| | | | | |||||
| * | | | add types to base.py and fun.py | yobmod | 2021-02-28 | 2 | -121/+187 |
| |/ / | |||||
| * | | move cmd.py types to another branch, mark typing import as unused | yobmod | 2021-02-28 | 2 | -10/+7 |
| | | | |||||
| * | | add py.typed, mypy.ini and git/types.py | yobmod | 2021-02-28 | 2 | -0/+6 |
| | | | |||||
| * | | drop py3.4 support | yobmod | 2021-02-28 | 1 | -4/+7 |
| |/ | |||||
| * | add replace method to git.Commit | Lars Kellogg-Stedman | 2021-02-15 | 1 | -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 | ||||
| * | version bump3.1.13 | Sebastian Thiel | 2021-02-09 | 1 | -0/+0 |
| | | |||||
| * | Fix inheritance issue at commit.iter_items | Yuri Volchkov | 2021-02-05 | 1 | -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> | ||||
| * | fix universal_newlines TypeError | x-santiaga-x | 2021-01-28 | 1 | -1/+3 |
| | | | | | Fixes #1116 | ||||
| * | Make git.cmd.Git.CatFileContentStream iterable | Hex052 | 2021-01-17 | 1 | -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 worktree | Giel van Schijndel | 2021-01-14 | 1 | -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. | ||||
| * | fix flake | Sebastian Thiel | 2021-01-08 | 1 | -0/+1 |
| | | |||||
| * | First attempt to fix failing test of #1103fix-1103 | Sebastian Thiel | 2021-01-07 | 1 | -4/+10 |
| | | | | | | | | | | | | | However, the test asserts on the provided context to be correct, which is hard to do in this branch while it's easy to doubt the value of this. Lastly, there seems to be no way to ignore errors in `git` without muting all output, which is in fact parsed. Maybe it's possible to ignore errors while parsing the new kind of error message. | ||||
| * | Fix handle_diff_line for -z option. | Martin Liska | 2021-01-06 | 1 | -49/+49 |
| | | |||||
