Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reformat according to 'black' configuration file. | Sebastian Thiel | 2022-05-18 | 1 | -35/+11 |
| | |||||
* | Run everything through 'black' | Sebastian Thiel | 2022-05-18 | 1 | -119/+220 |
| | | | | | That way people who use it won't be deterred, while it unifies style everywhere. | ||||
* | Fix various typos | luz paz | 2022-05-07 | 1 | -2/+2 |
| | | | Found via `codespell -q 3 -S ./git/ext/gitdb,./test/fixtures/reflog_master,./test/fixtures/diff_mode_only,./test/fixtures/reflog_HEAD` | ||||
* | Fix doc string error in Objects.Commit | Takuya Kitazawa | 2022-01-10 | 1 | -2/+2 |
| | |||||
* | Use git interpret-trailers for trailers property | Ket3r | 2022-01-07 | 1 | -17/+26 |
| | | | | | | | 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 trailer as commit property | Peter Kempter | 2022-01-07 | 1 | -1/+40 |
| | | | | | | | | With the command `git interpret-trailers` git provides a way to interact with trailer lines in the commit messages that look similar to RFC 822 e-mail headers (see: https://git-scm.com/docs/git-interpret-trailers). The new property returns those parsed trailer lines from the message as dictionary. | ||||
* | add type check to conf_encoding (in thoery could be bool or int) | Yobmod | 2021-08-08 | 1 | -0/+2 |
| | |||||
* | Add final types to commit.py | Yobmod | 2021-07-31 | 1 | -3/+3 |
| | |||||
* | Fix more missing types in Symbolic.py, cos GuthubActions pytest stuck | Yobmod | 2021-07-28 | 1 | -0/+1 |
| | |||||
* | Replace all Typeguard with cast, revert update to typing-extensions==3.10.0 | Yobmod | 2021-07-24 | 1 | -9/+12 |
| | |||||
* | Make types in refs compatible with objects | Yobmod | 2021-07-19 | 1 | -9/+12 |
| | |||||
* | Increase mypy strictness (no_implicit_optional & warn_redundant_casts) and ↵ | Yobmod | 2021-07-08 | 1 | -1/+1 |
| | | | | fix errors | ||||
* | Make Commit.message bytes | str | Yobmod | 2021-07-01 | 1 | -6/+9 |
| | |||||
* | Add missed types to Commit, uncomment to_native_path_linux() | Yobmod | 2021-07-01 | 1 | -31/+51 |
| | |||||
* | Type Traversable.traverse() better, start types of submodule | Yobmod | 2021-06-30 | 1 | -15/+31 |
| | |||||
* | Make IterableList generic and update throughout | Yobmod | 2021-06-24 | 1 | -2/+2 |
| | |||||
* | Update typing-extensions version in requirements.txt | Yobmod | 2021-06-23 | 1 | -7/+13 |
| | |||||
* | add replace method to git.Commit | Lars Kellogg-Stedman | 2021-02-15 | 1 | -7/+36 |
| | | | | | | | | | | | This adds a replace method to git.Commit. The replace method returns a copy of the Commit object with attributes replaced from keyword arguments. For example: >>> old = repo.head.commit >>> new = old.replace(message='This is a test') closes #1123 | ||||
* | Fix inheritance issue at commit.iter_items | Yuri Volchkov | 2021-02-05 | 1 | -1/+1 |
| | | | | | | | The iterator used to yield Commit() objects, which does not play well with inheritance. Yield cls() instead. Signed-off-by: Yuri Volchkov <yuri@volch.org> | ||||
* | Remove and replace compat.text_type | 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 |
| | |||||
* | renamed unused variables | Pratik Anurag | 2019-10-15 | 1 | -1/+1 |
| | |||||
* | fix decoding problem | ishepard | 2019-09-16 | 1 | -2/+3 |
| | |||||
* | Update commit.py constructor docstring | David Host | 2019-03-15 | 1 | -1/+1 |
| | | | Fixes issue #806: Commit requires author parameter to be of Actor type, not string. | ||||
* | Rewrite unnecessary dict/list/tuple calls as literals | Hugo | 2018-03-18 | 1 | -2/+2 |
| | |||||
* | Spelling fixes | Ville Skyttä | 2017-03-09 | 1 | -1/+1 |
| | |||||
* | Fix git.Commit docs typo | Reuben Sutton | 2017-02-02 | 1 | -1/+1 |
| | |||||
* | Merge branch 'cygwin' of https://github.com/ankostis/GitPython into ↵ | Sebastian Thiel | 2016-10-22 | 1 | -1/+1 |
|\ | | | | | | | ankostis-cygwin | ||||
| * | src: reduce needless deps to `gitdb.util` | Kostis Anagnostopoulos | 2016-10-16 | 1 | -1/+1 |
| | | |||||
* | | Fix some typos | Santiago Castro | 2016-10-20 | 1 | -2/+2 |
|/ | |||||
* | src: No PyDev warnings | Kostis Anagnostopoulos | 2016-10-04 | 1 | -2/+2 |
| | | | | | | | | + 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(commit): handle gpgsig properly | Sebastian Thiel | 2016-08-21 | 1 | -5/+10 |
| | | | | | | | Assure that gpgsig is not initialized with None to allow the automatic deserialization to kick in. Fixes #500 | ||||
* | Fixed 'TypeError: decode() takes no keyword arguments' on Python 2.6 | Andreas Maier | 2016-06-01 | 1 | -3/+3 |
| | |||||
* | Ignore invalid data when decoding commit objectsfix-for-invalid-data-in-commits | Vincent Driessen | 2016-05-30 | 1 | -3/+3 |
| | | | | | | Previously, GitPython chokes on this while decoding. Rather than choking, instead accept the error and replace the invalid bytes by the � (\x80) char. | ||||
* | Add support for getting "aware" datetime info | Vincent Driessen | 2016-04-19 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | | This adds 2 properties to commits. Their values are derived from the existing data stored on them, but this makes them more conveniently queryable: - authored_datetime - committed_datetime These return "aware" datetimes, so they are effectively companions to their raw timestamp equivalents, respectively `authored_date` and `committed_date`. These datetime instances are convenient structures since they show the author-local commit date and their UTC offset. | ||||
* | fix(commit): respect daylight saving when computing utc-offset | Sebastian Thiel | 2015-11-08 | 1 | -2/+6 |
| | | | | Related to #362 | ||||
* | Added two extra paramaters for commit to take author date and commit date | avi | 2015-07-17 | 1 | -3/+10 |
| | |||||
* | Added NullHandlers to all loggers to preven "No handler" messages | James Nowell | 2015-06-25 | 1 | -0/+1 |
| | | | | | | | | When the code is run without setting up loggers, the loggers have no handlers for the emitted messages. The logging module displays: `No handlers could be found for logger "git.cmd"` on the console. By adding a NullHandler (a no-op) the message disappears, and doesn't affect logging when other handlers are configured. | ||||
* | Fix type error (startswith expects bytes) | John L. Walker | 2015-05-13 | 1 | -1/+1 |
| | |||||
* | fix(iter-commit): ambiguous argument error | Sebastian Thiel | 2015-03-02 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | In repositories like > git branch -a * test > ls test `repo.iter_commits` failed due to an ambigous argument (`'git rev-list test`). Now this cannot happen anymore. fixes #264 | ||||
* | Added advance usage examples to tutorial and made minor fixes. | Sebastian Thiel | 2015-01-21 | 1 | -1/+8 |
| | | | | | | GIT_PYTHON_TRACE would actually fail (now) if we debugged archive operations. Related to #239 | ||||
* | suppression des prefixes de commit | firm1 | 2015-01-07 | 1 | -1/+1 |
| | |||||
* | Make flake8 happy | Sebastian Thiel | 2015-01-06 | 1 | -4/+4 |
| | |||||
* | test_commit works once again | Sebastian Thiel | 2015-01-05 | 1 | -2/+2 |
| | |||||
* | Fixes test_blob and improved commit writing/reading | Sebastian Thiel | 2015-01-05 | 1 | -20/+24 |
| | |||||
* | Added test of #147 to verify it works. | Sebastian Thiel | 2015-01-05 | 1 | -16/+9 |
| | | | | Applied a few more fixes to commit implementation, possibly not the last | ||||
* | Fixed io types to make tests work on PY2 once again.py3 | Sebastian Thiel | 2015-01-05 | 1 | -3/+3 |
| | | | | Now it's about going through PY3 issues | ||||
* | Dum brute force conversion of all types. | Sebastian Thiel | 2015-01-04 | 1 | -3/+4 |
| | | | | | | However, StringIO really is ByteIO in most cases, and py2.7 should run but doesn't. This should be made work first. | ||||
* | initial set of adjustments to make (most) imports work. | Sebastian Thiel | 2015-01-04 | 1 | -8/+7 |
| | | | | More to come, especially when it's about strings |