Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor type fixes | Yobmod | 2021-08-02 | 1 | -3/+4 |
| | |||||
* | Add __future__.annotations to repo/base.py | Yobmod | 2021-08-02 | 1 | -4/+8 |
| | |||||
* | replace some TBDs wiht runtime types | Yobmod | 2021-07-31 | 1 | -2/+2 |
| | |||||
* | Add final final types to symbolic.py | Yobmod | 2021-07-31 | 1 | -6/+8 |
| | |||||
* | Add final types to symbolic.py | Yobmod | 2021-07-31 | 1 | -5/+5 |
| | |||||
* | Add type to symbolicreference.references() | Yobmod | 2021-07-31 | 1 | -11/+3 |
| | |||||
* | Add type to symbolicreference.reference() | Yobmod | 2021-07-31 | 1 | -3/+11 |
| | |||||
* | Add type to symbolicreference.set_object() | Yobmod | 2021-07-31 | 1 | -6/+8 |
| | |||||
* | Add type to symbolicreference.set_reference() | Yobmod | 2021-07-31 | 1 | -4/+5 |
| | |||||
* | Add type to symbolicreference.is_valid() | Yobmod | 2021-07-31 | 1 | -4/+4 |
| | |||||
* | Add type to symbolicreference.log_append() | Yobmod | 2021-07-31 | 1 | -6/+15 |
| | |||||
* | Add type to symbolicreference.delete() | Yobmod | 2021-07-31 | 1 | -5/+5 |
| | |||||
* | Add type to symbolicreference._create() | Yobmod | 2021-07-31 | 1 | -2/+4 |
| | |||||
* | Add type to symbolicreference.is_remote() | Yobmod | 2021-07-31 | 1 | -4/+5 |
| | |||||
* | Add type to symbolicreference.get_() | Yobmod | 2021-07-31 | 1 | -7/+6 |
| | |||||
* | Add type to symbolicreference() | Yobmod | 2021-07-31 | 1 | -6/+7 |
| | |||||
* | Add type to symbolicreference.dereference_recursive() | Yobmod | 2021-07-31 | 1 | -2/+2 |
| | |||||
* | Add type to symbolicreference.dereference_recursive() | Yobmod | 2021-07-31 | 1 | -1/+1 |
| | |||||
* | Add type to symbolicreference._get_packed_refs_path() | Yobmod | 2021-07-31 | 1 | -11/+11 |
| | |||||
* | Add type to symbolicreference._get_ref_info() | Yobmod | 2021-07-31 | 1 | -11/+11 |
| | |||||
* | Add type to symbolicreference.__repr__() | Yobmod | 2021-07-31 | 1 | -6/+6 |
| | |||||
* | Add type to symbolicreference.rename() | Yobmod | 2021-07-31 | 1 | -6/+7 |
| | |||||
* | Add type to symbolicreference.iter_items() | Yobmod | 2021-07-31 | 1 | -2/+2 |
| | |||||
* | Add type to symbolicreference.name() | Yobmod | 2021-07-31 | 1 | -80/+54 |
| | |||||
* | Fix more missing types in Symbolic.py, cos GuthubActions pytest stuck | Yobmod | 2021-07-28 | 1 | -18/+29 |
| | |||||
* | Fix more missing types in Symbolic.py, cos GuthubActions pytest stuck | Yobmod | 2021-07-28 | 1 | -16/+25 |
| | |||||
* | Fix more missing types in Symbolic.py | Yobmod | 2021-07-28 | 1 | -3/+3 |
| | |||||
* | Fix more missing types in Symbolic.py | Yobmod | 2021-07-28 | 1 | -9/+13 |
| | |||||
* | Fix forwardref | Yobmod | 2021-07-28 | 1 | -1/+1 |
| | |||||
* | Fix some SymbolicReference types | Yobmod | 2021-07-28 | 1 | -41/+39 |
| | |||||
* | Fix SymbolicReference reference typing | Yobmod | 2021-07-28 | 1 | -2/+4 |
| | |||||
* | Replace all Typeguard with cast, revert update to typing-extensions==3.10.0 | Yobmod | 2021-07-24 | 1 | -1/+1 |
| | |||||
* | rmv redundant IOerror except | Yobmod | 2021-07-19 | 1 | -658/+0 |
| | |||||
* | Add types to refs/symbolic.py | Yobmod | 2021-07-19 | 1 | -0/+674 |
| | |||||
* | Improve typing of config_levels, add assert_never() | Yobmod | 2021-07-05 | 1 | -1/+2 |
| | |||||
* | Type Traversable.traverse() better, start types of submodule | Yobmod | 2021-06-30 | 1 | -2/+2 |
| | |||||
* | second pass of adding types | yobmod | 2021-05-03 | 1 | -1/+1 |
| | |||||
* | add initial types to remote.py | yobmod | 2021-05-03 | 1 | -1/+1 |
| | |||||
* | start add types to util.py | yobmod | 2021-02-28 | 1 | -1/+1 |
| | |||||
* | Ensure only fully matching symrefs are deleted | Simon Westphahl | 2020-08-12 | 1 | -2/+4 |
| | | | | | | | | Deleting a symbolic ref with e.g. the name 'refs/remotes/origin/mas' would also delete 'refs/remotes/origin/master' if the ref had to be deleted from the pack file. In order to fix this the full ref is now checked for a match. | ||||
* | Fix exception causes in 7 modules | Ram Rachum | 2020-06-13 | 1 | -4/+4 |
| | |||||
* | Fix flake8 errors | Sebastian Thiel | 2020-05-28 | 1 | -1/+1 |
| | |||||
* | Use UTF-8 encoding when getting information about a symbolic reference | Harmon | 2020-02-18 | 1 | -1/+1 |
| | | | | Fixes #774 | ||||
* | Remove and replace compat.string_types | Harmon | 2020-02-08 | 1 | -5/+2 |
| | |||||
* | renamed unused variables | Pratik Anurag | 2019-10-15 | 1 | -1/+1 |
| | |||||
* | Rewrite unnecessary dict/list/tuple calls as literals | Hugo | 2018-03-18 | 1 | -1/+1 |
| | |||||
* | recognize the new packed-ref header format | Brenda J. Butler | 2017-10-13 | 1 | -1/+9 |
| | | | | | | | as long as line contains "peeled", accept it fixes the PackingType of packed-Refs not understood: # pack-refs with: peeled fully-peeled sorted problem | ||||
* | worktrees: make non-packed refs also work correctly. | Peter Jones | 2017-08-22 | 1 | -24/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out aec58a9 did the right thing for /packed/ refs, but didn't work correctly on /unpacked/ refs. So this patch gives unpacked refs the same treatment. Without the fix here, the test added will cause this traceback: ====================================================================== ERROR: Check that we find .git as a worktree file and find the worktree ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pjones/devel/github.com/GitPython/git/test/lib/helper.py", line 92, in wrapper return func(self, path) File "/home/pjones/devel/github.com/GitPython/git/test/test_repo.py", line 938, in test_git_work_tree_dotgit self.assertIsInstance(repo.heads['aaaaaaaa'], Head) File "/home/pjones/devel/github.com/GitPython/git/util.py", line 893, in __getitem__ raise IndexError("No item found with id %r" % (self._prefix + index)) IndexError: No item found with id 'aaaaaaaa' Woops. Things I've learned: - test_remote doesn't work currently if you start on a branch. I think it never did? - Because of 346424da, all *sorts* of stuff in the test suite doesn't work if you name your development branch "packed-refs" (This seems like a bug...) Signed-off-by: Peter Jones <pjones@redhat.com> | ||||
* | Repo: handle worktrees better | Peter Jones | 2017-07-01 | 1 | -3/+24 |
| | | | | | | | | | | | | | This makes Repo("foo") work when foo/.git is a file of the form created by "git worktree add", i.e. it's a text file that says: gitdir: /home/me/project/.git/worktrees/bar and where /home/me/project/.git/ is the nominal gitdir, but /home/me/project/.git/worktrees/bar has this worktree's HEAD etc and a "gitdir" file that contains the path of foo/.git . Signed-off-by: Peter Jones <pjones@redhat.com> | ||||
* | fix(refs): don't assume linux path separator | Sebastian Thiel | 2017-02-25 | 1 | -1/+1 |
| | | | | | | Instead, work with os.sep. Fixes #586 |