summaryrefslogtreecommitdiff
path: root/git/index/base.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix Sphinx rendering errorsStephan Creutz2022-12-291-2/+2
| | | | | | | | 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.
* Add datetime.datetime type to commit_date and author_dateSergeantMenacingGarlic2022-10-131-2/+3
|
* Move stage type defAustin Scola2022-06-211-1/+1
|
* Add stage type to allAustin Scola2022-06-211-1/+1
|
* fix: Allow adding PathLike object to indexRuben DI BATTISTA2022-05-181-2/+2
| | | | Close #1382
* reformat according to 'black' configuration file.Sebastian Thiel2022-05-181-79/+29
|
* Run everything through 'black'Sebastian Thiel2022-05-181-169/+310
| | | | | That way people who use it won't be deterred, while it unifies style everywhere.
* Fix various typosluz paz2022-05-071-4/+4
| | | Found via `codespell -q 3 -S ./git/ext/gitdb,./test/fixtures/reflog_master,./test/fixtures/diff_mode_only,./test/fixtures/reflog_HEAD`
* Let index.commit refer to correct method for parameter information (#1407)Sebastian Thiel2022-02-031-1/+1
|
* Assure index file descriptor is closed after reader (#1394) (#1395)Sebastian Thiel2022-01-101-1/+4
| | | | A regression that was introduced with d79d20d.
* Avoid taking a lock for readingSebastian Thiel2022-01-071-15/+2
| | | | | | | This isn't needed as git will replace this file atomicially, hence we always see a fully written file when reading. Only when writing we need to obtain a lock.
* increase mypy strictness (warn unused ignored and warn unreachable)Yobmod2021-08-021-1/+0
|
* replace some TBDs wiht runtime typesYobmod2021-07-311-5/+6
|
* Change remaining type comments to py3.6+ typesYobmod2021-07-191-12/+12
|
* update types in types.pyYobmod2021-07-191-3/+4
|
* Fix typing of index.fun.write_tree_from_cache()Yobmod2021-07-091-1/+1
|
* 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()
* Finish initial typing of index folderYobmod2021-07-081-12/+19
|
* Increase mypy strictness (no_implicit_optional & warn_redundant_casts) and ↵Yobmod2021-07-081-4/+6
| | | | fix errors
* 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-061-3/+3
|
* 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
|
* Add types to tree.TreeYobmod2021-06-241-1/+1
|
* index.base unmerged_blobs() doc stringYobmod2021-05-171-2/+2
|
* add types to index.fun.pyYobmod2021-05-171-2/+3
|
* flake8 and mypy fixesYobmod2021-05-161-1/+1
|
* Add types to index.typ.pyYobmod2021-05-161-2/+5
|
* 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
|
* Add remaining types to IndexFile ._preprocess_add_items() to .diff()Yobmod2021-05-161-36/+55
|
* Add initial types to IndexFile .init() to _to_relative_path()Yobmod2021-05-151-2/+2
|
* Add initial types to IndexFile .init() to _to_relative_path()Yobmod2021-05-151-50/+72
|
* fix flakeSebastian Thiel2021-01-081-0/+1
|
* First attempt to fix failing test of #1103fix-1103Sebastian Thiel2021-01-071-4/+10
| | | | | | | | | | | | However, the test asserts on the provided context to be correct, which is hard to do in this branch while it's easy to doubt the value of this. Lastly, there seems to be no way to ignore errors in `git` without muting all output, which is in fact parsed. Maybe it's possible to ignore errors while parsing the new kind of error message.
* Fixed all warnings in documentation and updated Makefile to treat warnings ↵Kian Cross2020-07-131-4/+4
| | | | as errors.
* Fix exception causes all over the codebaseRam Rachum2020-06-141-3/+3
|
* Fix flake8 errorsSebastian Thiel2020-05-281-2/+2
|
* Only resolve globs if path does not exist on diskSebastian Thiel2020-03-081-2/+2
| | | | Fixes #994
* Remove and replace compat.string_typesHarmon2020-02-081-5/+4
|
* Remove and replace compat.izipHarmon2020-02-081-3/+2
|