Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Replaced ordered dict with standard version; used logging module | Sebastian Thiel | 2015-01-04 | 1 | -6/+8 |
| | | | | All performance tests still print to stderr, but do so in a py3 compatible way | ||||
* | Bumped version, updated changelog, reduced code smell | Sebastian Thiel | 2015-01-04 | 1 | -2/+2 |
| | | | | | There is more work to do though, as many imports are still incorrect. Also, there are still print statements | ||||
* | Applied autopep8 | Sebastian Thiel | 2014-11-19 | 1 | -26/+29 |
| | | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/ | ||||
* | Assure API remains backwards compatible; update API docs | Sebastian Thiel | 2014-11-17 | 1 | -2/+4 |
| | |||||
* | Merge branch '0.3' of https://github.com/firm1/GitPython into firm1-0.3 | Sebastian Thiel | 2014-11-17 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | Fixed most pressing issues, more to come in next commit as we introduced a regression here. Conflicts: git/objects/commit.py git/refs/log.py git/refs/symbolic.py | ||||
| * | add param to create_from_tree | firm1 | 2014-03-24 | 1 | -3/+8 |
| | | |||||
* | | pep8 linting (trailing whitespace) | Antoine Musso | 2014-11-16 | 1 | -33/+33 |
| | | | | | | | | W291 trailing whitespace | ||||
* | | pep8 linting (whitespace before/after) | Antoine Musso | 2014-11-16 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | E201 whitespace after '(' E202 whitespace before ')' E203 whitespace before ':' E225 missing whitespace around operator E226 missing whitespace around arithmetic operator E227 missing whitespace around bitwise or shift operator E228 missing whitespace around modulo operator E231 missing whitespace after ',' E241 multiple spaces after ',' E251 unexpected spaces around keyword / parameter equals | ||||
* | | pep8 linting (blank lines expectations) | Antoine Musso | 2014-11-16 | 1 | -4/+2 |
| | | | | | | | | | | | | E301 expected 1 blank line, found 0 E302 expected 2 blank lines, found 1 E303 too many blank lines (n) |