summaryrefslogtreecommitdiff
path: root/git/index
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Add remaining types to IndexFile ._preprocess_add_items() to .diff()Yobmod2021-05-163-40/+61
|
* Add initial types to IndexFile .init() to _to_relative_path()Yobmod2021-05-151-4/+6
|
* Add initial types to IndexFile .init() to _to_relative_path()Yobmod2021-05-152-6/+6
|
* Add initial types to IndexFile .init() to _to_relative_path()Yobmod2021-05-152-54/+79
|
* 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-142-4/+4
|
* 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 no longer used compat importsHarmon2020-02-081-1/+0
|
* Remove and replace compat.string_typesHarmon2020-02-081-5/+4
|
* Remove and replace compat.izipHarmon2020-02-081-3/+2
|
* Remove checks for Python 2 and/or 3Harmon2020-02-081-2/+1
|
* Remove and replace compat.xrangeHarmon2020-02-081-2/+1
|
* Remove and replace compat.mviterHarmon2020-02-081-5/+4
|
* removed Unnecessary “else” after “return”Pratik Anurag2019-10-151-2/+1
|
* removed trailing whitespacesPratik Anurag2019-10-151-1/+1
|
* removed trailing whitespacesPratik Anurag2019-10-151-1/+1
|
* removed trailing whitespacesPratik Anurag2019-10-151-1/+1
|
* renamed unused variablesPratik Anurag2019-10-151-2/+2
|
* updated fun.py, removed unused variablesPratik Anurag2019-10-151-1/+1
|
* As string is iterable, changed to isinstance checkMarcel2019-10-151-8/+4
| | | | test now works
* fixed code repetitionMarcel2019-10-151-30/+29
|
* allow calling index.add, index.move and index.remove with single itemsMarcel2019-10-151-17/+29
| | | | | added testing for it closes #813
* git: index: base: use os.path.relpathRuslan Kuprieiev2018-04-041-3/+2
| | | | | | Fixes #743 Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
* Merge pull request #737 from hugovk/rm-2.6Sebastian Thiel2018-03-242-19/+19
|\ | | | | Drop support for EOL Python 2.6 and 3.3
| * Rewrite unnecessary dict/list/tuple calls as literalsHugo2018-03-182-19/+19
| |