Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixed lint error | Cesar Velazquez | 2023-01-30 | 1 | -1/+1 |
| | |||||
* | Enable user to override default diff -M arg | Cesar Velazquez | 2023-01-30 | 1 | -1/+4 |
| | |||||
* | Ignore empty info in diff line | Dave Wapstra | 2022-09-27 | 1 | -0/+3 |
| | |||||
* | Fix bug where colons in paths raise a `ValueError` on `diff()` calls. | Malcolm Langfield | 2022-09-12 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | This commit introduces a potential fix for #1490 and #1483, in which an `invalid literal for int() with base 10: 'n'` exception was raised within a diff operation. Within `_handle_diff_line()`, we split the output of `git diff-tree` on colons (`:` characters), under the assumption that there are no colons within the paths of the files being diffed. On POSIX systems this is not a valid assumption. The fix is to split on `\x00:`, since a null character always precedes the colons we actually need to split on. A test already existed for this case (`test_diff_file_with_colon()`), but it was marked as skipped. * Split on `\x00:` instead of `:` in `_handle_diff_line()`. * Unskip `test_diff_file_with_colon()`. | ||||
* | reformat according to 'black' configuration file. | Sebastian Thiel | 2022-05-18 | 1 | -52/+13 |
| | |||||
* | Run everything through 'black' | Sebastian Thiel | 2022-05-18 | 1 | -129/+248 |
| | | | | | That way people who use it won't be deterred, while it unifies style everywhere. | ||||
* | Revert "Use NUL character to extract meta and path from git diff" | Sebastian Thiel | 2022-01-07 | 1 | -3/+3 |
| | | | | This reverts commit 01f09888208341876d1480bd22dc8f4107c100f1. | ||||
* | Use NUL character to extract meta and path from git diff | NHanser | 2022-01-07 | 1 | -3/+3 |
| | | | Use NUL character instead of semicolon to extract meta and path. Avoid errors in during git diff when dealing with filenames containing semicolons | ||||
* | increase mypy strictness (warn unused ignored and warn unreachable) | Yobmod | 2021-08-02 | 1 | -2/+2 |
| | |||||
* | replace some TBDs wiht runtime types | Yobmod | 2021-07-31 | 1 | -2/+3 |
| | |||||
* | Replace all Typeguard with cast, revert update to typing-extensions==3.10.0 | Yobmod | 2021-07-24 | 1 | -7/+7 |
| | |||||
* | Change remaining type comments to py3.6+ types | Yobmod | 2021-07-19 | 1 | -3/+3 |
| | |||||
* | Make types in refs compatible with previous | Yobmod | 2021-07-19 | 1 | -1/+1 |
| | |||||
* | Improve IndexFile_process_diff_args() to get checks to rerun | Yobmod | 2021-07-09 | 1 | -4/+4 |
| | |||||
* | Make IndexFile and Diffable .diff() types agree | Yobmod | 2021-07-09 | 1 | -1/+2 |
| | |||||
* | Rmv Diffable assert, add Remoote.url property | Yobmod | 2021-07-09 | 1 | -2/+0 |
| | |||||
* | Improve Diffable method typing | Yobmod | 2021-07-09 | 1 | -16/+16 |
| | |||||
* | Try to distinguation git.diff module from diff.Diff.diff and ↵ | Yobmod | 2021-07-09 | 1 | -13/+13 |
| | | | | diff.Daffable.diff() | ||||
* | Make has_repo protocol runtime checkable and use in Diffable | Yobmod | 2021-07-09 | 1 | -3/+5 |
| | |||||
* | Make diff.DiffIndex generic List['Diff'] | Yobmod | 2021-07-06 | 1 | -12/+16 |
| | |||||
* | Add 'U' to change_levels (should pass) | Yobmod | 2021-07-06 | 1 | -2/+2 |
| | |||||
* | Check change_levels (should fail) | Yobmod | 2021-07-06 | 1 | -2/+2 |
| | |||||
* | Readd submodule.base.py types | Yobmod | 2021-07-06 | 1 | -2/+3 |
| | |||||
* | Readd typeguard to Diff.py | Yobmod | 2021-07-06 | 1 | -2/+9 |
| | |||||
* | Rmv diff typeguard | Yobmod | 2021-07-06 | 1 | -18/+10 |
| | |||||
* | Rmv submodule types2 | Yobmod | 2021-07-06 | 1 | -2/+2 |
| | |||||
* | Fix for mrepo2 | Yobmod | 2021-07-06 | 1 | -1/+1 |
| | |||||
* | Fix Literal Typeguards | Yobmod | 2021-07-06 | 1 | -1/+1 |
| | |||||
* | Improve types of diff.py | Yobmod | 2021-07-06 | 1 | -4/+6 |
| | |||||
* | Improve types of diff.py | Yobmod | 2021-07-06 | 1 | -6/+14 |
| | |||||
* | Add types to objects.base.py | Yobmod | 2021-05-18 | 1 | -2/+2 |
| | |||||
* | Add remaining types to IndexFile ._preprocess_add_items() to .diff() | Yobmod | 2021-05-16 | 1 | -2/+2 |
| | |||||
* | Add types to cmd.py Git | yobmod | 2021-05-13 | 1 | -4/+6 |
| | |||||
* | flake8 fixes | yobmod | 2021-05-08 | 1 | -2/+1 |
| | |||||
* | add initial types to remote.py | yobmod | 2021-05-03 | 1 | -61/+65 |
| | |||||
* | add types to git.compat and git.diff | yobmod | 2021-03-02 | 1 | -48/+66 |
| | |||||
* | Fix handle_diff_line for -z option. | Martin Liska | 2021-01-06 | 1 | -49/+49 |
| | |||||
* | try fixing up test fixtures and implementation | Sebastian Thiel | 2021-01-06 | 1 | -2/+2 |
| | |||||
* | Add '-z' on top of '--raw' to avoid path name mangling | Sebastian Thiel | 2021-01-06 | 1 | -1/+2 |
| | | | | | | | Authored based on https://github.com/gitpython-developers/GitPython/issues/1099#issuecomment-754606044 Fixes #1099 | ||||
* | change decode type and add replace flag | Davide Spadini | 2020-11-10 | 1 | -1/+1 |
| | |||||
* | Remove checks for Python 2 and/or 3 | Harmon | 2020-02-08 | 1 | -10/+2 |
| | |||||
* | Remove and replace compat.binary_type | Harmon | 2020-02-08 | 1 | -5/+4 |
| | |||||
* | Merge branch 'fix/deepsource-issues' of https://github.com/imkaka/GitPython ↵ | Sebastian Thiel | 2019-10-29 | 1 | -4/+6 |
|\ | | | | | | | into imkaka-fix/deepsource-issues | ||||
| * | Merge branch 'master' into fix/deepsource-issues | Anil Khatri | 2019-10-23 | 1 | -10/+33 |
| |\ | |||||
| * | | fix Loop variable used outside the loop | Anil Khatri | 2019-10-23 | 1 | -4/+6 |
| | | | |||||
* | | | Check if submodule exists before referencing | tanaga9 | 2019-10-28 | 1 | -1/+2 |
| |/ |/| | |||||
* | | Fix #852 by tweaking regex to handle -R option to git diff | JJ Graham | 2019-10-22 | 1 | -1/+1 |
| | | |||||
* | | Initial stab at fixing diffs involving submodule changes | JJ Graham | 2019-10-21 | 1 | -0/+8 |
| | | |||||
* | | Satisfying flake8 | JJ Graham | 2019-10-19 | 1 | -2/+2 |
| | | |||||
* | | Updating variable name to more accurately reflect contents | JJ Graham | 2019-10-19 | 1 | -3/+3 |
| | |