summaryrefslogtreecommitdiff
path: root/git/objects/tree.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix Sphinx rendering errorsStephan Creutz2022-12-291-1/+3
| | | | | | | | These errors are mostly fixed by either adding blank lines or single spaces for Sphinx documentation key words. The commit solely includes documentation changes, no functional changes.
* reformat according to 'black' configuration file.Sebastian Thiel2022-05-181-29/+9
|
* Run everything through 'black'Sebastian Thiel2022-05-181-57/+101
| | | | | That way people who use it won't be deterred, while it unifies style everywhere.
* increase mypy strictness (warn unused ignored and warn unreachable)Yobmod2021-08-021-1/+1
|
* Add final types to tree.pyYobmod2021-07-311-2/+2
|
* Replace all Typeguard with cast, revert update to typing-extensions==3.10.0Yobmod2021-07-241-3/+3
|
* Change remaining type comments to py3.6+ typesYobmod2021-07-191-1/+1
|
* Make types in refs compatible with objectsYobmod2021-07-191-6/+6
|
* Use TreeCacheTup type alias throughoutYobmod2021-07-091-6/+8
|
* Try to distinguation git.diff module from diff.Diff.diff and ↵Yobmod2021-07-091-2/+2
| | | | diff.Daffable.diff()
* Fix list_traverse() docstring for AutodocYobmod2021-07-091-0/+5
|
* Rmv circular import, create Has_id_attribute Protocol insteadYobmod2021-07-091-1/+1
|
* Add list_traverse() to Tree and TraversableIterableObj.Yobmod2021-07-091-2/+5
|
* fix base,ours,theirs typingYobmod2021-07-081-1/+1
|
* Finish initial typing of index folderYobmod2021-07-081-10/+10
|
* Increase mypy strictness (no_implicit_optional & warn_redundant_casts) and ↵Yobmod2021-07-081-1/+0
| | | | fix errors
* Add missed types to Commit, uncomment to_native_path_linux()Yobmod2021-07-011-1/+1
|
* Type Tree.traverse() betterYobmod2021-06-301-19/+18
|
* Type Traversable.traverse() better, start types of submoduleYobmod2021-06-301-12/+42
|
* Add asserts and casts for T_Tree_cacheYobmod2021-06-251-4/+9
|
* Add T_Tre_cache TypeVarYobmod2021-06-241-14/+18
|
* Add types to tree.TreeYobmod2021-06-241-28/+28
|
* Update typing-extensions version in requirements.txtYobmod2021-06-231-4/+18
|
* Fix exception causes all over the codebaseRam Rachum2020-06-141-2/+2
|
* Remove and replace compat.string_typesHarmon2020-02-081-2/+1
|
* Remove checks for Python 2 and/or 3Harmon2020-02-081-4/+1
|
* Rewrite unnecessary dict/list/tuple calls as literalsHugo2018-03-181-1/+1
|
* Merge branch 'cygwin' of https://github.com/ankostis/GitPython into ↵Sebastian Thiel2016-10-221-2/+2
|\ | | | | | | ankostis-cygwin
| * src: reduce needless deps to `gitdb.util`Kostis Anagnostopoulos2016-10-161-2/+2
| |
* | Fix some typosSantiago Castro2016-10-201-3/+3
|/
* fix(tree): show that fixing Tree.cache is not possibleSebastian Thiel2015-12-141-23/+29
| | | | | | | | | | The problem is that a per-tree modification API cannot work properly, as the sorting is based on full paths of all entries within the repository. This feat can only be achieved by the index, which to my knowledge already does it correctly. The only fix is to remove the misleading API entirely, which will happen in the next commit. Related to #369
* chore(tree): remove dead codeSebastian Thiel2015-12-131-1/+0
| | | | [skip ci]
* fix(tree): tree item sort now uses git-styleSebastian Thiel2015-12-131-1/+49
| | | | | | | | | Previously it was possible to generate trees which didn't appear legit to git as gitpython's sorting was a simple alpha-numeric sort. Git uses one that minimizes literal string comparisons though, and thus behaves slightly differently sometimes. Fixes #369
* test_tree worksSebastian Thiel2015-01-061-2/+10
|
* Dum brute force conversion of all types.Sebastian Thiel2015-01-041-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 Thiel2015-01-041-9/+7
| | | | More to come, especially when it's about strings
* Removed unnecessary (non-gitpython) tests and fixed flake80.3.3Sebastian Thiel2015-01-041-4/+4
|
* Bumped version, updated changelog, reduced code smellSebastian Thiel2015-01-041-1/+2
| | | | | There is more work to do though, as many imports are still incorrect. Also, there are still print statements
* Applied autopep8Sebastian Thiel2014-11-191-12/+12
| | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
* pep8 linting (trailing whitespace)Antoine Musso2014-11-161-17/+17
| | | | W291 trailing whitespace
* pep8 linting (whitespace before/after)Antoine Musso2014-11-161-13/+13
| | | | | | | | | | | | | E201 whitespace after '(' E202 whitespace before ')' E203 whitespace before ':' E225 missing whitespace around operator E226 missing whitespace around arithmetic operator E227 missing whitespace around bitwise or shift operator E228 missing whitespace around modulo operator E231 missing whitespace after ',' E241 multiple spaces after ',' E251 unexpected spaces around keyword / parameter equals
* pep8 linting (blank lines expectations)Antoine Musso2014-11-161-3/+3
| | | | | | E301 expected 1 blank line, found 0 E302 expected 2 blank lines, found 1 E303 too many blank lines (n)
* pep8 linting (whitespaces)Antoine Musso2014-11-161-33/+33
| | | | | | | | | | | W191 indentation contains tabs E221 multiple spaces before operator E222 multiple spaces after operator E225 missing whitespace around operator E271 multiple spaces after keyword W292 no newline at end of file W293 blank line contains whitespace W391 blank line at end of file
* tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel2014-02-091-245/+245
| | | | probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-251-0/+280
adjusted