Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update symbolic.py | Dominic | 2021-07-31 | 1 | -5/+6 |
| | |||||
* | Update symbolic.py | Dominic | 2021-07-31 | 1 | -43/+684 |
| | |||||
* | Update symbolic.py | Dominic | 2021-07-31 | 1 | -699/+43 |
| | |||||
* | Update symbolic.py | Dominic | 2021-07-31 | 1 | -15/+24 |
| | |||||
* | Update symbolic.py | Dominic | 2021-07-31 | 1 | -2/+7 |
| | |||||
* | Update symbolic.py | Dominic | 2021-07-31 | 1 | -1/+1 |
| | |||||
* | Update symbolic.py | Dominic | 2021-07-31 | 1 | -86/+98 |
| | |||||
* | 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 | ||||
* | Merge branch 'cygwin' of https://github.com/ankostis/GitPython into ↵ | Sebastian Thiel | 2016-10-22 | 1 | -29/+23 |
|\ | | | | | | | ankostis-cygwin | ||||
| * | src: reduce needless deps to `gitdb.util` | Kostis Anagnostopoulos | 2016-10-16 | 1 | -23/+15 |
| | | |||||
| * | src: import os.path as osp | Kostis Anagnostopoulos | 2016-10-16 | 1 | -6/+8 |
| | | |||||
* | | Fix some typos | Santiago Castro | 2016-10-20 | 1 | -5/+5 |
|/ | |||||
* | src: No PyDev warnings | Kostis Anagnostopoulos | 2016-10-04 | 1 | -3/+3 |
| | | | | | | | | + Mark all unused vars and other non-pep8 (PyDev) warnings + test_utils: + enable & fix forgotten IterableList looped path. + unittestize all assertions. + remote: minor fix progress dispatching unknown err-lines | ||||
* | io, #519: ALL open() --> with open() | Kostis Anagnostopoulos | 2016-10-01 | 1 | -38/+42 |
| | | | + Some cases had restructuring of code. | ||||
* | Use binary string constant for concatenation. | Bert Wesarg | 2016-07-19 | 1 | -1/+1 |
| | |||||
* | Add missing newline when writing a symbolic ref. | Bert Wesarg | 2016-07-19 | 1 | -1/+1 |
| | |||||
* | fix(refs): don't raise StopIteration | Sebastian Thiel | 2016-03-28 | 1 | -1/+1 |
| | | | | Fixes #394 | ||||
* | Ensure file resources are released | David García Garzón | 2015-07-26 | 1 | -17/+17 |
| | |||||
* | Assure to not iterate packed-refs file, ever. | Sebastian Thiel | 2015-02-19 | 1 | -0/+3 |
| | | | | Related to #252 | ||||
* | Overhauled all tutorials, and placed them in a unit-test. | Sebastian Thiel | 2015-01-22 | 1 | -1/+1 |
| | | | | | | That way they are protected from regression. Fixes #239 | ||||
* | Now finally, tests should be working on travis too. | Sebastian Thiel | 2015-01-08 | 1 | -3/+6 |
| | | | | Now handling the new exception BadName as well | ||||
* | Make flake8 happy | Sebastian Thiel | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | test_refs works | Sebastian Thiel | 2015-01-06 | 1 | -2/+4 |
| | |||||
* | test_commit works once again | Sebastian Thiel | 2015-01-05 | 1 | -1/+1 |
| | |||||
* | Intermediate commit: test_config and test_actor works | Sebastian Thiel | 2015-01-05 | 1 | -6/+9 |
| | | | | | Kind of tackling the tasks step by step, picking low-hanging fruit first, or the ones that everyone depends on | ||||
* | Dum brute force conversion of all types. | Sebastian Thiel | 2015-01-04 | 1 | -1/+2 |
| | | | | | | However, StringIO really is ByteIO in most cases, and py2.7 should run but doesn't. This should be made work first. | ||||
* | initial set of adjustments to make (most) imports work. | Sebastian Thiel | 2015-01-04 | 1 | -1/+2 |
| | | | | More to come, especially when it's about strings | ||||
* | Removed unnecessary (non-gitpython) tests and fixed flake80.3.3 | Sebastian Thiel | 2015-01-04 | 1 | -0/+1 |
| | |||||
* | Bumped version, updated changelog, reduced code smell | Sebastian Thiel | 2015-01-04 | 1 | -1/+3 |
| | | | | | There is more work to do though, as many imports are still incorrect. Also, there are still print statements | ||||
* | Fixes https://github.com/gitpython-developers/GitPython/issues/130 | Sebastian Thiel | 2014-11-19 | 1 | -1/+3 |
| | |||||
* | Applied autopep8 | Sebastian Thiel | 2014-11-19 | 1 | -31/+33 |
| | | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/ | ||||
* | Added SymbolicReference.is_remote() utility method. | Sebastian Thiel | 2014-11-19 | 1 | -0/+4 |
| | | | | | | Based on the functionality proposed in https://github.com/gitpython-developers/GitPython/pull/101 [ci skip] |