| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bump version to 3.1.283.1.28 | Sebastian Thiel | 2022-10-07 | 1 | -1/+1 |
| | | |||||
| * | prepare changelog | Sebastian Thiel | 2022-10-07 | 1 | -0/+6 |
| | | |||||
| * | Merge pull request #1497 from dwapstra/git_diff_empty | Sebastian Thiel | 2022-09-27 | 2 | -0/+9 |
| |\ | | | | | Ignore empty info in diff line | ||||
| | * | Ignore empty info in diff line | Dave Wapstra | 2022-09-27 | 2 | -0/+9 |
| |/ | |||||
| * | Merge pull request #1491 from langfield/main | Sebastian Thiel | 2022-09-14 | 2 | -2/+4 |
| |\ | | | | | Fix bug where colons in paths raise a `ValueError` on `diff()` calls. | ||||
| | * | Fix bug where colons in paths raise a `ValueError` on `diff()` calls. | Malcolm Langfield | 2022-09-12 | 2 | -2/+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()`. | ||||
| * | Merge pull request #1485 from thehale/blame/rev-opts | Sebastian Thiel | 2022-09-01 | 3 | -3/+16 |
| |\ | | | | | feat(blame): Support custom `rev_opts` for blame | ||||
| | * | feat(blame): Support custom `rev_opts` for blame | Joseph Hale | 2022-08-30 | 3 | -3/+16 |
| |/ | | | | | | | | | | | | | | | | The `git blame` CLI offers a repeated `-C` option that can be used to detect lines that move within/between files. While a slower operation, it yields more accurate authorship reports. https://git-scm.com/docs/git-blame#Documentation/git-blame.txt--Cltnumgt While GitPython does enable passing custom kwargs to the command line `git` invocation, the fact that kwargs is a dictionary (i.e. no duplicate keys) means that there was no way to request the `-C` option in `git blame` more than once. This commit adds an optional `rev_opts` parameter to the `blame` method which accepts a list of strings to propagate to the CLI invocation of `git blame`. By using a `List[str]` for `rev_opts`, users of GitPython can pass now the `-C` option multiple times to get more detailed authorship reports from `git blame`. | ||||
| * | Merge branch 'add-co-authors' | Sebastian Thiel | 2022-08-25 | 5 | -1/+46 |
| |\ | |||||
| | * | Allow failure of that one test on cygwin | Sebastian Thiel | 2022-08-25 | 1 | -0/+7 |
| | | | |||||
| | * | Ignore flake8 error. | Twist | 2022-08-24 | 1 | -1/+1 |
| | | | |||||
| | * | Use the same regex as the Actor class when determining co-authors. | Twist | 2022-08-24 | 2 | -4/+4 |
| | | | |||||
| | * | Update regex to extract the author string, and create the Actor using the ↵ | Twist | 2022-08-23 | 1 | -3/+3 |
| | | | | | | | | | _from_string classmethod. | ||||
| | * | Add malformed co-authors to the test, to check they aren't detected with the ↵ | Twist | 2022-08-23 | 1 | -2/+6 |
| | | | | | | | | | regex. | ||||
| | * | Add co_authors property to the Commit object, which parses the commit ↵ | Twist | 2022-08-22 | 3 | -0/+34 |
| |/ | | | | message for designated co-authors, include a simple test. | ||||
| * | Merge pull request #1481 from grumpyp/main | Sebastian Thiel | 2022-08-21 | 2 | -0/+3 |
| |\ | | | | | Improve docs | ||||
| | * | Merge branch 'main' of github.com:grumpyp/GitPython | Patrick Gerard | 2022-08-20 | 0 | -0/+0 |
| | |\ | |||||
| | | * | fix: sphinx syntax | Patrick Gerard | 2022-08-20 | 1 | -1/+1 |
| | | | | |||||
| | | * | docs: add typerror exception to active_branch method | Patrick Gerard | 2022-08-20 | 1 | -0/+2 |
| | |/ |/| | |||||
| | * | docs: add typerror exception to active_branch method | Patrick Gerard | 2022-08-20 | 2 | -0/+3 |
| |/ | | | | | | | | docs: add typerror exception to active_branch method fix: sphinx syntax add author | ||||
| * | Merge pull request #1478 from luzpaz/typos | Sebastian Thiel | 2022-08-18 | 2 | -3/+3 |
| |\ | | | | | Fix source comment typos | ||||
| | * | Fix source comment typos | luz paz | 2022-08-17 | 2 | -3/+3 |
| |/ | |||||
| * | Merge pull request #1474 from Predeactor/master | Sebastian Thiel | 2022-08-08 | 2 | -9/+3 |
| |\ | | | | | Fix incomplete typehinting for PathLike | ||||
| | * | fix: incorrect PathLike corrected | Predeactor | 2022-08-07 | 1 | -2/+2 |
| | | | | | | | | | Signed-off-by: Predeactor <predeactor0@gmail.com> | ||||
| | * | fix: remove bytes type of PathLike | Predeactor | 2022-08-07 | 1 | -1/+1 |
| | | | | | | | | | Signed-off-by: Predeactor <predeactor0@gmail.com> | ||||
| | * | Add contributor to AUTHORS file | Predeactor | 2022-07-31 | 1 | -0/+1 |
| | | | |||||
| | * | Fix typehinting for PathLike | Predeactor | 2022-07-31 | 1 | -10/+3 |
| |/ | |||||
| * | Catch OSError to handle gevent monkey patching errors | Ethan Anderson | 2022-07-06 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #1459 from AustinScola/ascola/fix-blob-filter-types | Sebastian Thiel | 2022-07-02 | 3 | -9/+50 |
| |\ | | | | | Fix blob filter types | ||||
| | * | Remove stage type as parameter from blob filter test | Austin Scola | 2022-07-01 | 1 | -6/+7 |
| | | | |||||
| | * | Fix blob filter path shorter than filter path | Austin Scola | 2022-06-28 | 2 | -2/+37 |
| | | | |||||
| | * | Use generator instead of map | Austin Scola | 2022-06-26 | 1 | -1/+1 |
| | | | |||||
| | * | Remove usage of `PosixPath.is_relative_to` | Austin Scola | 2022-06-26 | 1 | -1/+2 |
| | | | | | | | | | | | Remove usage of `PosixPath.is_relative_to` because it was added in Python 3.9 and earlier versions of Python are supported by `GitPython`. | ||||
| | * | Fix pathlike type annotation typo | Austin Scola | 2022-06-26 | 1 | -1/+1 |
| | | | |||||
| | * | Change to not stringify paths | Austin Scola | 2022-06-26 | 1 | -4/+6 |
| | | | |||||
| | * | Move stage type def | Austin Scola | 2022-06-21 | 2 | -3/+4 |
| | | | |||||
| | * | Add stage type to all | Austin Scola | 2022-06-21 | 1 | -1/+1 |
| | | | |||||
| | * | Fix blob filter types | Austin Scola | 2022-06-21 | 1 | -3/+4 |
| | | | | | | | | | Fix the types and type annotations of some of the blob filter code. | ||||
| * | | Fix bug in TagReference.create | Ruud van Asseldonk | 2022-06-25 | 1 | -2/+4 |
| | | | | | | | | | | | | | When passing the "message" kwarg, this would add a -m command-line flag without removing --message, and the message would be duplicated. Avoid that by deleting "message" from the command line. | ||||
| * | | Add regression test for TagReference.create | Ruud van Asseldonk | 2022-06-25 | 1 | -0/+17 |
| |/ | | | | | | If you pass the "message" kwarg, it also translates it to an -m command line flag, and with both -m and --message, the message appears twice. I will fix this in the next commit. | ||||
| * | Merge pull request #1455 from DWesl/patch-1 | Sebastian Thiel | 2022-06-21 | 7 | -8/+96 |
| |\ | | | | | Re-enable Cygwin CI and get most tests passing | ||||
| | * | FIX: Mark the correct test_submodule test as xfail on Cygwin | DWesl | 2022-06-20 | 1 | -4/+4 |
| | | | | | | | Got the wrong one the first time. | ||||
| | * | FIX: Import pytest in tests.test_docs | DWesl | 2022-06-20 | 1 | -0/+2 |
| | | | |||||
| | * | TST: Mark test_submodule.TestSubmodule.test_root_module as xfail on Cygwin | DWesl | 2022-06-20 | 1 | -0/+8 |
| | | | |||||
| | * | TST: Mark test_repo.TestRepo.test_submodules as xfail on Cygwin | DWesl | 2022-06-20 | 1 | -0/+8 |
| | | | |||||
| | * | TST: Mark test_docs.Tutorials.test_submodules as xfail on Cygwin | DWesl | 2022-06-20 | 1 | -0/+6 |
| | | | |||||
| | * | CI: Turn of command echo for tests | DWesl | 2022-06-11 | 1 | -1/+0 |
| | | | | | | | Echoing the commands in shell scripts in tests causes problems with the tests. | ||||
| | * | BUG: Use Cygwin paths for Cygwin git | DWesl | 2022-06-11 | 1 | -2/+4 |
| | | | |||||
| | * | CI: Install virtualenv for Cygwin CI. | DWesl | 2022-06-11 | 1 | -1/+1 |
| | | | |||||
| | * | CI: Set temporary directory for tests. | DWesl | 2022-06-11 | 1 | -0/+2 |
| | | | | | | | Hopefully this avoids the mismatched directories with saving into a user temporary directory with one user name and reading from a user temporary directory with a different user name. | ||||
