diff options
author | Vincent Driessen <me@nvie.com> | 2016-04-19 21:46:59 +0200 |
---|---|---|
committer | Vincent Driessen <me@nvie.com> | 2016-04-19 21:46:59 +0200 |
commit | 8bbf1a3b801fb4e00c10f631faa87114dcd0462f (patch) | |
tree | a231962fc64fb5b255d87ecb409bfc1f48dfe8a5 /doc/source | |
parent | 0d7a40f603412be7e1046b500057b08558d9d250 (diff) | |
parent | 1445b59bb41c4b1a94b7cb0ec6864c98de63814b (diff) | |
download | gitpython-8bbf1a3b801fb4e00c10f631faa87114dcd0462f.tar.gz |
Merge pull request #412 from nvie/fix-diff-patch-parsing
Fix diff patch parsing
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/changes.rst | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/doc/source/changes.rst b/doc/source/changes.rst index 4fdf39ca..734c479c 100644 --- a/doc/source/changes.rst +++ b/doc/source/changes.rst @@ -5,9 +5,23 @@ Changelog 1.0.3 - Fixes ============= -* `Commit.diff()` now supports diffing the root commit via `Commit.diff(NULL_TREE)`. -* `Repo.blame()` now respects `incremental=True`, supporting incremental blames. Incremental blames are slightly faster since they don't include the file's contents in them. -* IMPORTANT: This release drops support for python 2.6, which is officially deprecated by the python maintainers. +* `Commit.diff()` now supports diffing the root commit via + `Commit.diff(NULL_TREE)`. +* `Repo.blame()` now respects `incremental=True`, supporting incremental + blames. Incremental blames are slightly faster since they don't include + the file's contents in them. +* Fix: `Diff` objects created with patch output will now have their + `a_path` and `b_path` properties parsed out correctly. Previously, some + values may have been populated incorrectly when a file was added or + deleted. +* IMPORTANT: This release drops support for python 2.6, which is + officially deprecated by the python maintainers. +* CRITICAL: `Diff` objects created with patch output will now not carry + the --- and +++ header lines anymore. All diffs now start with the + @@ header line directly. Users that rely on the old behaviour can now + (reliably) read this information from the a_path and b_path properties + without having to parse these lines manually. + 1.0.2 - Fixes ============= |