Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Let index.commit refer to correct method for parameter information (#1407) | Sebastian Thiel | 2022-02-03 | 1 | -1/+1 |
| | |||||
* | Use bash to open extensionless hooks on windows | David Briscoe | 2022-01-14 | 1 | -1/+14 |
| | | | | | | | | | | | | | | | Fix #971. Partly resolve #703. If the hook doesn't have a file extension, then Windows won't know how to run it and you'll get "[WinError 193] %1 is not a valid Win32 application". It's very likely that it's a shell script of some kind, so use bash.exe (commonly installed via Windows Subsystem for Linux). We don't want to run all hooks with bash because they could be .bat files. Update tests to get several hook ones working. More work necessary to get commit-msg hook working. The hook writes to the wrong file because it's not using forward slashes in the path: C:\Users\idbrii\AppData\Local\Temp\bare_test_commit_msg_hook_successy5fo00du\CUsersidbriiAppDataLocalTempbare_test_commit_msg_hook_successy5fo00duCOMMIT_EDITMSG | ||||
* | Assure index file descriptor is closed after reader (#1394) (#1395) | Sebastian Thiel | 2022-01-10 | 1 | -1/+4 |
| | | | | A regression that was introduced with d79d20d. | ||||
* | Avoid taking a lock for reading | Sebastian Thiel | 2022-01-07 | 1 | -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. | ||||
* | Revert "Replace wildcard imports with concrete imports" | Trym Bremnes | 2021-10-03 | 1 | -2/+2 |
| | | | | | | | | | | | This reverts commit 53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5. The reason for the revert is that the commit in question introduced a regression where certain modules, functions and classes that were exposed before were no longer exposed. See https://github.com/gitpython-developers/GitPython/pull/1352#issuecomment-932757204 for additional information. | ||||
* | Replace wildcard imports with concrete imports | Trym Bremnes | 2021-10-01 | 1 | -2/+2 |
| | | | | | | | All `from <module> import *` has now been replaced by `from <module> import X, Y, ...`. Contributes to #1349 | ||||
* | increase mypy strictness (warn unused ignored and warn unreachable) | Yobmod | 2021-08-02 | 1 | -1/+0 |
| | |||||
* | replace some TBDs wiht runtime types | Yobmod | 2021-07-31 | 1 | -5/+6 |
| | |||||
* | Add final types to index/fun.py | Yobmod | 2021-07-31 | 1 | -1/+1 |
| | |||||
* | Rmv with_metaclass shim, make section constraint generic wrt its ↵ | Yobmod | 2021-07-24 | 1 | -1/+2 |
| | | | | configparser type | ||||
* | Use BaseIndexEntry named access in index/fun.py | Yobmod | 2021-07-24 | 2 | -60/+38 |
| | |||||
* | Replace all Typeguard with cast, revert update to typing-extensions==3.10.0 | Yobmod | 2021-07-24 | 1 | -5/+6 |
| | |||||
* | Rmv old py2.7 __future__ imports | Yobmod | 2021-07-19 | 1 | -2/+0 |
| | |||||
* | Change remaining type comments to py3.6+ types | Yobmod | 2021-07-19 | 2 | -17/+17 |
| | |||||
* | update types in types.py | Yobmod | 2021-07-19 | 1 | -3/+4 |
| | |||||
* | Make TreeCacheTup forward ref | Yobmod | 2021-07-09 | 1 | -4/+4 |
| | |||||
* | Use TreeCacheTup type alias throughout | Yobmod | 2021-07-09 | 1 | -3/+4 |
| | |||||
* | Fix typing of index.fun.write_tree_from_cache() | Yobmod | 2021-07-09 | 2 | -5/+4 |
| | |||||
* | Improve IndexFile_process_diff_args() to get checks to rerun | Yobmod | 2021-07-09 | 1 | -5/+5 |
| | |||||
* | Make IndexFile and Diffable .diff() types agree | Yobmod | 2021-07-09 | 1 | -1/+2 |
| | |||||
* | Remove defsult_index decorator from diff() and do check within function. ↵ | Yobmod | 2021-07-09 | 1 | -2/+7 |
| | | | | Breaks typechecking for some reason | ||||
* | Improve Diffable method typing | Yobmod | 2021-07-09 | 1 | -3/+3 |
| | |||||
* | Try to distinguation git.diff module from diff.Diff.diff and ↵ | Yobmod | 2021-07-09 | 1 | -7/+8 |
| | | | | diff.Daffable.diff() | ||||
* | tests TraversableIterableObj typeguard | Yobmod | 2021-07-09 | 1 | -1/+0 |
| | |||||
* | Change List to MutableSequence in fun.py _find_by_name() | Yobmod | 2021-07-08 | 1 | -2/+3 |
| | |||||
* | fix base,ours,theirs typing | Yobmod | 2021-07-08 | 1 | -4/+4 |
| | |||||
* | Fix traverse_trees_recursive() | Yobmod | 2021-07-08 | 1 | -79/+69 |
| | |||||
* | Mmmmmm | Yobmod | 2021-07-08 | 1 | -67/+71 |
| | |||||
* | Mmmmm | Yobmod | 2021-07-08 | 1 | -5/+4 |
| | |||||
* | Mak EntryTup a froward ref | Yobmod | 2021-07-08 | 1 | -6/+5 |
| | |||||
* | Finish initial typing of index folder | Yobmod | 2021-07-08 | 3 | -44/+62 |
| | |||||
* | Increase mypy strictness (no_implicit_optional & warn_redundant_casts) and ↵ | Yobmod | 2021-07-08 | 1 | -4/+6 |
| | | | | fix errors | ||||
* | Make diff.DiffIndex generic List['Diff'] | Yobmod | 2021-07-06 | 1 | -4/+4 |
| | |||||
* | Type index _items_to_rela_paths() | Yobmod | 2021-07-06 | 1 | -9/+10 |
| | |||||
* | UnMake subodule a forward ref in Index.base2 | Yobmod | 2021-07-06 | 1 | -1/+1 |
| | |||||
* | UnMake subodule a forward ref in Index.base | Yobmod | 2021-07-06 | 1 | -1/+1 |
| | |||||
* | Make subodule a forward ref in Index.base3 | Yobmod | 2021-07-06 | 1 | -2/+2 |
| | |||||
* | Make subodule a forward ref in Index.base2 | Yobmod | 2021-07-06 | 1 | -1/+1 |
| | |||||
* | Make subodule a forward ref in Index.base | Yobmod | 2021-07-06 | 1 | -4/+4 |
| | |||||
* | Improve types of @unbare_repo and @git_working_dir decorators | Yobmod | 2021-07-06 | 2 | -6/+6 |
| | |||||
* | Add missed types to Commit, uncomment to_native_path_linux() | Yobmod | 2021-07-01 | 1 | -2/+3 |
| | |||||
* | Type Traversable.traverse() better, start types of submodule | Yobmod | 2021-06-30 | 1 | -2/+3 |
| | |||||
* | replace cast()s with asserts in fun.py | Yobmod | 2021-06-25 | 1 | -3/+9 |
| | |||||
* | Add types to tree.Tree | Yobmod | 2021-06-24 | 2 | -2/+2 |
| | |||||
* | Update typing-extensions version in requirements.txt | Yobmod | 2021-06-23 | 1 | -1/+1 |
| | |||||
* | improve index mode for files with executable bit | Todd Zullinger | 2021-05-25 | 1 | -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 comments | Yobmod | 2021-05-17 | 1 | -1/+0 |
| | |||||
* | index.base unmerged_blobs() doc string | Yobmod | 2021-05-17 | 1 | -2/+2 |
| | |||||
* | forward reference for IndexFile | Yobmod | 2021-05-17 | 1 | -6/+7 |
| | |||||
* | forward reference for IndexFile | Yobmod | 2021-05-17 | 1 | -1/+1 |
| |