Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add types to refs/head.py | Yobmod | 2021-07-19 | 1 | -15/+22 | |
| | ||||||
* | Add types to refs/log.py | Yobmod | 2021-07-19 | 1 | -54/+86 | |
| | ||||||
* | Add types to refs/reference.py | Yobmod | 2021-07-19 | 1 | -12/+25 | |
| | ||||||
* | Add types to refs/remote.py | Yobmod | 2021-07-19 | 1 | -9/+22 | |
| | ||||||
* | Add types to refs/symbolic.py | Yobmod | 2021-07-19 | 1 | -0/+674 | |
| | ||||||
* | Add types to refs/tag.py | Yobmod | 2021-07-19 | 1 | -10/+36 | |
| | ||||||
* | Make bytesIO forwardref | Yobmod | 2021-07-05 | 1 | -3/+8 | |
| | ||||||
* | 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 | 2 | -4/+8 | |
| | ||||||
* | replace cast()s with asserts in remote.py | Yobmod | 2021-06-25 | 1 | -6/+6 | |
| | ||||||
* | Make IterableList generic and update throughout | Yobmod | 2021-06-24 | 1 | -2/+2 | |
| | ||||||
* | Adds _common_default to build _common_path_default | Robert Westman | 2021-06-03 | 1 | -1/+2 | |
| | ||||||
* | flake8 and mypy fixes | Yobmod | 2021-05-16 | 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 | 2 | -3/+3 | |
| | ||||||
* | 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 | |
| | ||||||
* | Remove now unnecessary explicit Unicode string literal prefixes | Harmon | 2020-02-25 | 1 | -7/+7 | |
| | ||||||
* | 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 | 2 | -10/+4 | |
| | ||||||
* | Remove checks for Python 2 and/or 3 | Harmon | 2020-02-08 | 1 | -7/+1 | |
| | ||||||
* | Remove and replace compat.xrange | Harmon | 2020-02-08 | 1 | -2/+1 | |
| | ||||||
* | removed extra line as per code review | Anil Khatri | 2019-10-28 | 1 | -1/+0 | |
| | ||||||
* | silence PYL-W0621 | Anil Khatri | 2019-10-24 | 1 | -4/+2 | |
| | ||||||
* | silance Re-defined variable from outer scope | Anil Khatri | 2019-10-24 | 1 | -8/+10 | |
| | ||||||
* | resolved all minor issues arised by last fix patch | Anil Khatri | 2019-10-23 | 1 | -23/+22 | |
| | ||||||
* | fix File opened without the with statement | Anil Khatri | 2019-10-23 | 1 | -17/+18 | |
| | ||||||
* | fix Loop variable used outside the loop | Anil Khatri | 2019-10-23 | 1 | -1/+1 | |
| | ||||||
* | fixed classmethod argument PYL-C0202 | Anil Khatri | 2019-10-22 | 1 | -1/+1 | |
| | ||||||
* | removed Unnecessary “else” after “return” | Pratik Anurag | 2019-10-15 | 1 | -4/+3 | |
| | ||||||
* | removed Unnecessary “else” after “return” | Pratik Anurag | 2019-10-15 | 1 | -2/+1 | |
| | ||||||
* | renamed unused variables | Pratik Anurag | 2019-10-15 | 1 | -1/+1 | |
| | ||||||
* | Use automatic formatters | Hugo | 2018-03-18 | 1 | -7/+7 | |
| | ||||||
* | Rewrite unnecessary dict/list/tuple calls as literals | Hugo | 2018-03-18 | 5 | -5/+5 | |
| | ||||||
* | RF: primarily flake8 lints + minor RF to reduce duplication in PATHEXT | Yaroslav Halchenko | 2017-11-27 | 1 | -1/+1 | |
| | | | | | I did keep some "bare" except with catch all Exception: , while tried to disable flake8 complaints where clearly all exceptions are to be catched | |||||
* | 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 | 2 | -24/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | |||||
* | Spelling fixes | Ville Skyttä | 2017-03-09 | 1 | -2/+2 | |
| | ||||||
* | fix(refs): don't assume linux path separator | Sebastian Thiel | 2017-02-25 | 1 | -1/+1 | |
| | | | | | | Instead, work with os.sep. Fixes #586 | |||||
* | chore(lint): fix | Sebastian Thiel | 2016-12-22 | 1 | -2/+2 | |
| | ||||||
* | fix(tag): improve tag resolution handling | Sebastian Thiel | 2016-12-22 | 1 | -2/+5 | |
| | | | | | | | The handling is similar, but the error message makes clear what is happening, and what can be done to handle such a case. Related to #561 | |||||
* | fix(refs): handle quoted branch names | Sebastian Thiel | 2016-12-08 | 1 | -1/+7 | |
| | | | | Fixes #550 | |||||
* | Merge branch 'cygwin' of https://github.com/ankostis/GitPython into ↵ | Sebastian Thiel | 2016-10-22 | 3 | -52/+45 | |
|\ | | | | | | | ankostis-cygwin | |||||
| * | src: reduce needless deps to `gitdb.util` | Kostis Anagnostopoulos | 2016-10-16 | 3 | -46/+37 | |
| | | ||||||
| * | src: import os.path as osp | Kostis Anagnostopoulos | 2016-10-16 | 1 | -6/+8 | |
| | | ||||||
* | | Fix some typos | Santiago Castro | 2016-10-20 | 5 | -11/+10 | |
|/ | ||||||
* | io: Wrap (probably) allconfig_writers in `with` blocks | Kostis Anagnostopoulos | 2016-10-04 | 1 | -12/+9 | |
| |