summaryrefslogtreecommitdiff
path: root/git/index
Commit message (Collapse)AuthorAgeFilesLines
* increase mypy strictness (warn unused ignored and warn unreachable)Yobmod2021-08-021-1/+0
|
* replace some TBDs wiht runtime typesYobmod2021-07-311-5/+6
|
* Add final types to index/fun.pyYobmod2021-07-311-1/+1
|
* Rmv with_metaclass shim, make section constraint generic wrt its ↵Yobmod2021-07-241-1/+2
| | | | configparser type
* Use BaseIndexEntry named access in index/fun.pyYobmod2021-07-242-60/+38
|
* Replace all Typeguard with cast, revert update to typing-extensions==3.10.0Yobmod2021-07-241-5/+6
|
* Rmv old py2.7 __future__ importsYobmod2021-07-191-2/+0
|
* Change remaining type comments to py3.6+ typesYobmod2021-07-192-17/+17
|
* update types in types.pyYobmod2021-07-191-3/+4
|
* Make TreeCacheTup forward refYobmod2021-07-091-4/+4
|
* Use TreeCacheTup type alias throughoutYobmod2021-07-091-3/+4
|
* Fix typing of index.fun.write_tree_from_cache()Yobmod2021-07-092-5/+4
|
* Improve IndexFile_process_diff_args() to get checks to rerunYobmod2021-07-091-5/+5
|
* Make IndexFile and Diffable .diff() types agreeYobmod2021-07-091-1/+2
|
* Remove defsult_index decorator from diff() and do check within function. ↵Yobmod2021-07-091-2/+7
| | | | Breaks typechecking for some reason
* Improve Diffable method typingYobmod2021-07-091-3/+3
|
* Try to distinguation git.diff module from diff.Diff.diff and ↵Yobmod2021-07-091-7/+8
| | | | diff.Daffable.diff()
* tests TraversableIterableObj typeguardYobmod2021-07-091-1/+0
|
* Change List to MutableSequence in fun.py _find_by_name()Yobmod2021-07-081-2/+3
|
* fix base,ours,theirs typingYobmod2021-07-081-4/+4
|
* Fix traverse_trees_recursive()Yobmod2021-07-081-79/+69
|
* MmmmmmYobmod2021-07-081-67/+71
|
* MmmmmYobmod2021-07-081-5/+4
|
* Mak EntryTup a froward refYobmod2021-07-081-6/+5
|
* Finish initial typing of index folderYobmod2021-07-083-44/+62
|
* Increase mypy strictness (no_implicit_optional & warn_redundant_casts) and ↵Yobmod2021-07-081-4/+6
| | | | fix errors
* Make diff.DiffIndex generic List['Diff']Yobmod2021-07-061-4/+4
|
* Type index _items_to_rela_paths()Yobmod2021-07-061-9/+10
|
* UnMake subodule a forward ref in Index.base2Yobmod2021-07-061-1/+1
|
* UnMake subodule a forward ref in Index.baseYobmod2021-07-061-1/+1
|
* Make subodule a forward ref in Index.base3Yobmod2021-07-061-2/+2
|
* Make subodule a forward ref in Index.base2Yobmod2021-07-061-1/+1
|
* Make subodule a forward ref in Index.baseYobmod2021-07-061-4/+4
|
* Improve types of @unbare_repo and @git_working_dir decoratorsYobmod2021-07-062-6/+6
|
* Add missed types to Commit, uncomment to_native_path_linux()Yobmod2021-07-011-2/+3
|
* Type Traversable.traverse() better, start types of submoduleYobmod2021-06-301-2/+3
|
* replace cast()s with asserts in fun.pyYobmod2021-06-251-3/+9
|
* Add types to tree.TreeYobmod2021-06-242-2/+2
|
* Update typing-extensions version in requirements.txtYobmod2021-06-231-1/+1
|
* improve index mode for files with executable bitTodd Zullinger2021-05-251-1/+2
| | | | | | | | | | | | | | | | | The fix for #430 in bebc4f56 (Use correct mode for executable files, 2016-05-19) is incomplete. It fails (in most cases) when files have modes which are not exactly 0644 or 0755. Git only cares whether the executable bit is set (or not). Ensure the mode we set for the index is either 100644 or 100755 based on whether the executable bit is set for the file owner. Do this similarly to how upstream git does it in cache.h¹. Add a test covering various file modes to help catch regressions. Fixes #1253 ¹ https://github.com/git/git/blob/v2.31.1/cache.h#L247
* Tidy up some commentsYobmod2021-05-171-1/+0
|
* index.base unmerged_blobs() doc stringYobmod2021-05-171-2/+2
|
* forward reference for IndexFileYobmod2021-05-171-6/+7
|
* forward reference for IndexFileYobmod2021-05-171-1/+1
|
* add types to index.fun.pyYobmod2021-05-172-33/+49
|
* flake8 and mypy fixesYobmod2021-05-162-5/+2
|
* Add types to index.util.pyYobmod2021-05-161-9/+21
|
* Add types to index.typ.pyYobmod2021-05-162-23/+35
|
* Add remaining types to IndexFile ._store_items() ._entries_for_paths()Yobmod2021-05-161-8/+12
|
* Add remaining types to IndexFile ._preprocess_add_items() to .diff()Yobmod2021-05-161-1/+2
|