| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat(blame): Support custom `rev_opts` for blame | Joseph Hale | 2022-08-30 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | 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`. | ||||
| * | Allow failure of that one test on cygwin | Sebastian Thiel | 2022-08-25 | 1 | -0/+7 |
| | | |||||
| * | Use the same regex as the Actor class when determining co-authors. | Twist | 2022-08-24 | 1 | -1/+1 |
| | | |||||
| * | 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 | 1 | -0/+11 |
| | | | | | message for designated co-authors, include a simple test. | ||||
| * | Fix source comment typos | luz paz | 2022-08-17 | 2 | -3/+3 |
| | | |||||
| * | Merge pull request #1459 from AustinScola/ascola/fix-blob-filter-types | Sebastian Thiel | 2022-07-02 | 1 | -0/+32 |
| |\ | | | | | 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 | 1 | -0/+31 |
| | | | |||||
| * | | 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. | ||||
| * | 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 |
| | | |||||
| * | fix: Allow adding PathLike object to index | Ruben DI BATTISTA | 2022-05-18 | 1 | -0/+11 |
| | | | | | Close #1382 | ||||
| * | reformat according to 'black' configuration file. | Sebastian Thiel | 2022-05-18 | 25 | -716/+242 |
| | | |||||
| * | Run everything through 'black' | Sebastian Thiel | 2022-05-18 | 29 | -1603/+2470 |
| | | | | | | That way people who use it won't be deterred, while it unifies style everywhere. | ||||
| * | Fix various typos | luz paz | 2022-05-07 | 9 | -10/+10 |
| | | | | Found via `codespell -q 3 -S ./git/ext/gitdb,./test/fixtures/reflog_master,./test/fixtures/diff_mode_only,./test/fixtures/reflog_HEAD` | ||||
| * | Fix #1284: strip usernames from URLs as well as passwords | Glenn Matthews | 2022-05-04 | 2 | -10/+29 |
| | | |||||
| * | chore: `s/strip_newline/&_in_stdout` | Hiroki Tokunaga | 2022-04-07 | 1 | -2/+2 |
| | | |||||
| * | feat(cmd): add the `strip_newline` flag | Hiroki Tokunaga | 2022-04-06 | 1 | -0/+10 |
| | | | | | | | | | This commit adds the `strip_newline` flag to the `Git.execute` method. When this flag is set to `True`, it will trim the trailing `\n`. The default value is `True` for backward compatibility. Setting it to `False` is helpful for, e.g., the `git show` output, especially with the binary file, as the missing `\n` may invalidate the file. | ||||
| * | Use bash to open extensionless hooks on windows | David Briscoe | 2022-01-14 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | 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 | ||||
| * | Use git interpret-trailers for trailers property | Ket3r | 2022-01-07 | 1 | -2/+2 |
| | | | | | | | | The whitespace handling and trailer selection isn't very trivial or good documented. It therefore seemed easier and less error prone to just call git to parse the message for the trailers section and remove superfluos whitespaces. | ||||
| * | Add failing unit test | Peter Kempter | 2022-01-07 | 1 | -0/+46 |
| | | |||||
| * | Add raise_if_error() to tutorial | Sjoerd Langkemper | 2021-11-13 | 1 | -1/+2 |
| | | |||||
| * | Test raise_if_error | Sjoerd Langkemper | 2021-11-13 | 1 | -0/+6 |
| | | |||||
| * | Test that return value of push is a list-like object | Sjoerd Langkemper | 2021-11-13 | 1 | -1/+4 |
| | | |||||
| * | Revert "Replace wildcard imports with concrete imports" | Trym Bremnes | 2021-10-03 | 1 | -5/+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/+5 |
| | | | | | | | | All `from <module> import *` has now been replaced by `from <module> import X, Y, ...`. Contributes to #1349 | ||||
| * | Add a way to force status codes inside AutoInterrupt._terminate, and let ↵ | sroet | 2021-09-18 | 1 | -4/+10 |
| | | | | | tests use it | ||||
| * | set timeout to a non-zero value | sroet | 2021-09-18 | 1 | -2/+2 |
| | | |||||
| * | two spaces before comments | sroet | 2021-09-18 | 1 | -1/+1 |
| | | |||||
| * | fetch is also to quick on CI, only test pull | sroet | 2021-09-18 | 1 | -1/+1 |
| | | |||||
| * | make test timeout stricter | sroet | 2021-09-18 | 1 | -2/+2 |
| | | |||||
| * | go for pytest.raises and test that the functions run | sroet | 2021-09-18 | 1 | -3/+3 |
| | | |||||
| * | update tests and add a comment about different behaviour of 'push' vs 'fetch' | sroet | 2021-09-18 | 1 | -3/+17 |
| | | |||||
| * | propagate kwargs in do_test_fetch | sroet | 2021-09-18 | 1 | -2/+2 |
| | | |||||
| * | also test a call to 'push' with 10s timeout | sroet | 2021-09-18 | 1 | -1/+1 |
| | | |||||
| * | add test timeout with the old 10 s timeout | sroet | 2021-09-18 | 1 | -2/+2 |
| | | |||||
| * | Update test_util.py | Eric Wieser | 2021-08-04 | 1 | -1/+4 |
| | | |||||
| * | Try a better test | Eric Wieser | 2021-08-04 | 1 | -3/+18 |
| | | |||||
| * | Fix test | Eric Wieser | 2021-08-03 | 1 | -9/+9 |
| | | |||||
| * | Update test_refs.py | Dominic | 2021-07-31 | 1 | -3/+7 |
| | | |||||
| * | Added support of spaces for clone multi_options | Igor Lakhtenkov | 2021-07-27 | 1 | -1/+3 |
| | | |||||
| * | Rmv old py2.7 __future__ imports | Yobmod | 2021-07-19 | 5 | -9/+0 |
| | | |||||
| * | rmv python 3.5 checks from tests | Yobmod | 2021-07-19 | 8 | -24/+15 |
| | | |||||
| * | Merge branch 'main' into Yobmod/main | Sebastian Thiel | 2021-07-01 | 1 | -0/+66 |
| |\ | |||||
| | * | Added clone multi_options to Submodule | Igor Lakhtenkov | 2021-06-30 | 1 | -0/+66 |
| | | | |||||
| * | | Type Traversable.traverse() better, start types of submodule | Yobmod | 2021-06-30 | 2 | -1/+14 |
| |/ | |||||
