Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reformat according to 'black' configuration file. | Sebastian Thiel | 2022-05-18 | 1 | -85/+27 |
| | |||||
* | Run everything through 'black' | Sebastian Thiel | 2022-05-18 | 1 | -194/+344 |
| | | | | | That way people who use it won't be deterred, while it unifies style everywhere. | ||||
* | Low risk ReDoS vuln | theworstcomrade | 2022-02-20 | 1 | -1/+1 |
| | | | | https://huntr.dev/bounties/8549d81f-dc45-4af7-9f2a-2d70752d8524/ | ||||
* | 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 |
| | |||||
* | Rename exception to error, raise_on_error to raise_if_error | Sjoerd Langkemper | 2021-11-13 | 1 | -5/+5 |
| | |||||
* | 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 | ||||
* | Fix typing issues with delete_head and Remote.add | Russ Allbery | 2021-09-20 | 1 | -1/+3 |
| | | | | | | | | | | | | | | 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. | ||||
* | update tests and add a comment about different behaviour of 'push' vs 'fetch' | sroet | 2021-09-18 | 1 | -0/+2 |
| | |||||
* | reuse kill_after_timeout kwarg | sroet | 2021-09-18 | 1 | -11/+25 |
| | |||||
* | reset default timeout to None | sroet | 2021-09-18 | 1 | -5/+5 |
| | |||||
* | allow for timeout propagation | sroet | 2021-09-18 | 1 | -9/+15 |
| | |||||
* | Merge pull request #1318 from Yobmod/main | Dominic | 2021-09-09 | 1 | -2/+2 |
|\ | | | | | General fixes for next release | ||||
| * | type fixo | Yobmod | 2021-08-08 | 1 | -0/+944 |
| | | |||||
| * | add type check to conf_encoding (in thoery could be bool or int) | Yobmod | 2021-08-08 | 1 | -944/+0 |
| | | |||||
* | | Add encoding to utf-8 for fetch_info_lines; | f100024 | 2021-08-24 | 1 | -2/+2 |
|/ | | | | Add encoding to utf-8 for fetch_head_info; | ||||
* | Minor type fixes | Yobmod | 2021-08-02 | 1 | -2/+2 |
| | |||||
* | replace more TBDs wiht runtime types | Yobmod | 2021-07-31 | 1 | -5/+5 |
| | |||||
* | Rmv with_metaclass shim, make section constraint generic wrt its ↵ | Yobmod | 2021-07-24 | 1 | -1/+2 |
| | | | | configparser type | ||||
* | Replace all Typeguard with cast, revert update to typing-extensions==3.10.0 | Yobmod | 2021-07-24 | 1 | -6/+6 |
| | |||||
* | Change remaining type comments to py3.6+ types | Yobmod | 2021-07-19 | 1 | -6/+6 |
| | |||||
* | Make types in refs compatible with previous | Yobmod | 2021-07-19 | 1 | -22/+35 |
| | |||||
* | Add remote.url type | Yobmod | 2021-07-09 | 1 | -14/+7 |
| | |||||
* | Rmv Diffable assert, add Remoote.url property | Yobmod | 2021-07-09 | 1 | -0/+8 |
| | |||||
* | Try to distinguation git.diff module from diff.Diff.diff and ↵ | Yobmod | 2021-07-09 | 1 | -1/+1 |
| | | | | diff.Daffable.diff() | ||||
* | Add types to submodule.update() | Yobmod | 2021-07-06 | 1 | -4/+7 |
| | |||||
* | Type Traversable/list_traverse() better, make IterablleObj a protocol | Yobmod | 2021-06-30 | 1 | -0/+2 |
| | |||||
* | Type Traversable.traverse() better, start types of submodule | Yobmod | 2021-06-30 | 1 | -9/+7 |
| | |||||
* | replace cast()s with asserts in remote.py | Yobmod | 2021-06-25 | 1 | -5/+7 |
| | |||||
* | Add '?' to controlcharacter literal | Yobmod | 2021-06-25 | 1 | -2/+2 |
| | |||||
* | fix assert | Yobmod | 2021-06-25 | 1 | -1/+1 |
| | |||||
* | Add is_flatLiteral() Typeguard[] to remote.py | Yobmod | 2021-06-25 | 1 | -2/+9 |
| | |||||
* | Make IterableList generic and update throughout | Yobmod | 2021-06-24 | 1 | -15/+16 |
| | |||||
* | Don't raise on unknown line when parsing stale refs (#1262) | Sebastian Thiel | 2021-06-03 | 1 | -1/+1 |
| | |||||
* | flake8 fixes | yobmod | 2021-05-08 | 1 | -43/+54 |
| | |||||
* | Add types to Remote. init getattr exists | yobmod | 2021-05-08 | 1 | -3/+3 |
| | |||||
* | fix Repo forward ref | yobmod | 2021-05-03 | 1 | -1/+1 |
| | |||||
* | second pass of adding types | yobmod | 2021-05-03 | 1 | -15/+21 |
| | |||||
* | add types to _from_line() | yobmod | 2021-05-03 | 1 | -6/+7 |
| | |||||
* | add overloads to to_progress_instance() | yobmod | 2021-05-03 | 1 | -2/+18 |
| | |||||
* | change flags type to int | yobmod | 2021-05-03 | 1 | -4/+4 |
| | |||||
* | change a type (Commit) to a forward ref | yobmod | 2021-05-03 | 1 | -1/+1 |
| | |||||
* | make progress types more general | yobmod | 2021-05-03 | 1 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | add initial types to remote.py | yobmod | 2021-05-03 | 1 | -19/+18 |
| | |||||
* | add types to git.util and git.__init__ | yobmod | 2021-03-01 | 1 | -1/+4 |
| | |||||
* | 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. | ||||
* | Fixed all warnings in documentation and updated Makefile to treat warnings ↵ | Kian Cross | 2020-07-13 | 1 | -3/+1 |
| | | | | as errors. |