Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix Sphinx rendering errors | Stephan Creutz | 2022-12-29 | 1 | -4/+7 |
| | | | | | | | | 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 Thiel | 2022-05-18 | 1 | -39/+14 |
| | |||||
* | Run everything through 'black' | Sebastian Thiel | 2022-05-18 | 1 | -71/+114 |
| | | | | | That way people who use it won't be deterred, while it unifies style everywhere. | ||||
* | Fix various typos | luz paz | 2022-05-07 | 1 | -1/+1 |
| | | | Found via `codespell -q 3 -S ./git/ext/gitdb,./test/fixtures/reflog_master,./test/fixtures/diff_mode_only,./test/fixtures/reflog_HEAD` | ||||
* | 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 | ||||
* | Add final types to index/fun.py | Yobmod | 2021-07-31 | 1 | -1/+1 |
| | |||||
* | Use BaseIndexEntry named access in index/fun.py | Yobmod | 2021-07-24 | 1 | -8/+9 |
| | |||||
* | Replace all Typeguard with cast, revert update to typing-extensions==3.10.0 | Yobmod | 2021-07-24 | 1 | -5/+6 |
| | |||||
* | Change remaining type comments to py3.6+ types | Yobmod | 2021-07-19 | 1 | -5/+5 |
| | |||||
* | 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 | 1 | -4/+3 |
| | |||||
* | 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 | 1 | -27/+35 |
| | |||||
* | replace cast()s with asserts in fun.py | Yobmod | 2021-06-25 | 1 | -3/+9 |
| | |||||
* | Add types to tree.Tree | Yobmod | 2021-06-24 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | forward reference for IndexFile | Yobmod | 2021-05-17 | 1 | -6/+7 |
| | |||||
* | forward reference for IndexFile | Yobmod | 2021-05-17 | 1 | -1/+1 |
| | |||||
* | add types to index.fun.py | Yobmod | 2021-05-17 | 1 | -31/+46 |
| | |||||
* | Add remaining types to IndexFile ._preprocess_add_items() to .diff() | Yobmod | 2021-05-16 | 1 | -2/+2 |
| | |||||
* | Add initial types to IndexFile .init() to _to_relative_path() | Yobmod | 2021-05-15 | 1 | -4/+6 |
| | |||||
* | Add initial types to IndexFile .init() to _to_relative_path() | Yobmod | 2021-05-15 | 1 | -4/+4 |
| | |||||
* | Add initial types to IndexFile .init() to _to_relative_path() | Yobmod | 2021-05-15 | 1 | -4/+7 |
| | |||||
* | Fix exception causes all over the codebase | Ram Rachum | 2020-06-14 | 1 | -1/+1 |
| | |||||
* | Remove no longer used compat imports | Harmon | 2020-02-08 | 1 | -1/+0 |
| | |||||
* | Remove checks for Python 2 and/or 3 | Harmon | 2020-02-08 | 1 | -2/+1 |
| | |||||
* | removed Unnecessary “else” after “return” | Pratik Anurag | 2019-10-15 | 1 | -2/+1 |
| | |||||
* | removed trailing whitespaces | Pratik Anurag | 2019-10-15 | 1 | -1/+1 |
| | |||||
* | updated fun.py, removed unused variables | Pratik Anurag | 2019-10-15 | 1 | -1/+1 |
| | |||||
* | Rewrite unnecessary dict/list/tuple calls as literals | Hugo | 2018-03-18 | 1 | -3/+3 |
| | |||||
* | IndexFile.commit() now runs pre-commit and post-commit and commit-msg hooks. | satahippy | 2017-10-30 | 1 | -3/+4 |
| | |||||
* | Merge branch 'cygwin' of https://github.com/ankostis/GitPython into ↵ | Sebastian Thiel | 2016-10-22 | 1 | -17/+17 |
|\ | | | | | | | ankostis-cygwin | ||||
| * | src: import os.path as osp | Kostis Anagnostopoulos | 2016-10-16 | 1 | -17/+17 |
| | | |||||
* | | Fix some typos | Santiago Castro | 2016-10-20 | 1 | -1/+1 |
|/ | |||||
* | src: No PyDev warnings | Kostis Anagnostopoulos | 2016-10-04 | 1 | -1/+1 |
| | | | | | | | | + Mark all unused vars and other non-pep8 (PyDev) warnings + test_utils: + enable & fix forgotten IterableList looped path. + unittestize all assertions. + remote: minor fix progress dispatching unknown err-lines | ||||
* | FIX hook TC on PY3+Win & indeterministic lock timing. | Kostis Anagnostopoulos | 2016-09-29 | 1 | -1/+4 |
| | | | | | | | | | + Cannot `index.path` into ENV, it is bytes! + The hook TC never runs on linux! + Unblock removal of odbfile in perf-large streams TC. + Attempt to unblock removal of submodule file by intensive cleaning. more unblock files | ||||
* | Win, hook, #519: Consume Hook Popen-proc out of GIL | Kostis Anagnostopoulos | 2016-09-28 | 1 | -17/+22 |
| | | | | | | | | + HookException thrown on Popen, and were missed on Windows. + No SHELL on Popen?? + Minor fixes: + Try harder to delete trees - no remorses. + Simplify exception reprs. + Unittest-ize test_index assertions. | ||||
* | Win, #519: Ensure fixtures & bashscript checked-out eol=lf | Kostis Anagnostopoulos | 2016-09-28 | 1 | -1/+1 |
| | | | | + FIX all Diff TCs. | ||||
* | src: constify is_<platform>() calls | Kostis Anagnostopoulos | 2016-09-28 | 1 | -1/+1 |
| | | | + TCs: unittest-asserts for git-tests. | ||||
* | test, #519: Try appveyor advice for never-ending builds | Kostis Anagnostopoulos | 2016-09-28 | 1 | -1/+0 |
| | | | | | | | | | | | + see http://help.appveyor.com/discussions/problems/5334-nosetests-finsih-bu-build-stuck-and-next-job-dealys-to-start + Use `io.DEFAULT_BUFFER_SIZE`. + test_commit: replace asserts with unittest-asserts. - TRY Popen() NO universal_newlines: NO, reverted in next commits. + [travisci skip] | ||||
* | src, #519: collect all is_<platform>() calls | Kostis Anagnostopoulos | 2016-09-27 | 1 | -2/+3 |
| |