<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/diff.py, branch 3.1.29</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>Ignore empty info in diff line</title>
<updated>2022-09-27T01:04:50+00:00</updated>
<author>
<name>Dave Wapstra</name>
<email>dwapstra@cisco.com</email>
</author>
<published>2022-09-27T00:49:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=41003c548f9df2dc389f14be58b5a41d35d0e73d'/>
<id>41003c548f9df2dc389f14be58b5a41d35d0e73d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug where colons in paths raise a `ValueError` on `diff()` calls.</title>
<updated>2022-09-13T00:46:00+00:00</updated>
<author>
<name>Malcolm Langfield</name>
<email>35980963+langfield@users.noreply.github.com</email>
</author>
<published>2022-09-13T00:46:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=db392aeeea6e34c3aaa3a9961941a43053255ff0'/>
<id>db392aeeea6e34c3aaa3a9961941a43053255ff0</id>
<content type='text'>
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()`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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()`.
</pre>
</div>
</content>
</entry>
<entry>
<title>reformat according to 'black' configuration file.</title>
<updated>2022-05-18T00:01:38+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2022-05-18T00:01:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=e530544546b2a4e5f00e8d9458bf1b895573ec41'/>
<id>e530544546b2a4e5f00e8d9458bf1b895573ec41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Run everything through 'black'</title>
<updated>2022-05-17T23:43:53+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2022-05-17T23:43:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=21ec529987d10e0010badd37f8da3274167d436f'/>
<id>21ec529987d10e0010badd37f8da3274167d436f</id>
<content type='text'>
That way people who use it won't be deterred, while it unifies style
everywhere.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That way people who use it won't be deterred, while it unifies style
everywhere.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Use NUL character to extract meta and path from git diff"</title>
<updated>2022-01-07T01:57:33+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2022-01-07T01:57:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=3ef81e182fcd3fca3f83216cf81d92d08c19cf5e'/>
<id>3ef81e182fcd3fca3f83216cf81d92d08c19cf5e</id>
<content type='text'>
This reverts commit 01f09888208341876d1480bd22dc8f4107c100f1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 01f09888208341876d1480bd22dc8f4107c100f1.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use NUL character to extract meta and path from git diff</title>
<updated>2022-01-07T01:52:29+00:00</updated>
<author>
<name>NHanser</name>
<email>nicolas.hans@gmail.com</email>
</author>
<published>2021-12-23T11:51:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=01f09888208341876d1480bd22dc8f4107c100f1'/>
<id>01f09888208341876d1480bd22dc8f4107c100f1</id>
<content type='text'>
Use NUL character instead of semicolon to extract meta and path. Avoid errors in during git diff when dealing with filenames containing semicolons</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use NUL character instead of semicolon to extract meta and path. Avoid errors in during git diff when dealing with filenames containing semicolons</pre>
</div>
</content>
</entry>
<entry>
<title>increase mypy strictness (warn unused ignored and warn unreachable)</title>
<updated>2021-08-02T13:56:03+00:00</updated>
<author>
<name>Yobmod</name>
<email>yobmod@gmail.com</email>
</author>
<published>2021-08-02T13:56:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=91fce331de16de6039c94cd4d7314184a5763e61'/>
<id>91fce331de16de6039c94cd4d7314184a5763e61</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>replace some TBDs wiht runtime types</title>
<updated>2021-07-31T21:26:20+00:00</updated>
<author>
<name>Yobmod</name>
<email>yobmod@gmail.com</email>
</author>
<published>2021-07-31T21:26:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=39d37d550963a6a64e66ba3d6b9f4b077270a3ad'/>
<id>39d37d550963a6a64e66ba3d6b9f4b077270a3ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace all Typeguard with cast, revert update to typing-extensions==3.10.0</title>
<updated>2021-07-24T16:10:32+00:00</updated>
<author>
<name>Yobmod</name>
<email>yobmod@gmail.com</email>
</author>
<published>2021-07-24T16:10:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=e6345d60a7926bd413d3d7238ba06f7c81a7faf9'/>
<id>e6345d60a7926bd413d3d7238ba06f7c81a7faf9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change remaining type comments to py3.6+ types</title>
<updated>2021-07-19T18:10:45+00:00</updated>
<author>
<name>Yobmod</name>
<email>yobmod@gmail.com</email>
</author>
<published>2021-07-19T18:10:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=9e5e969479ec6018e1ba06b95bcdefca5b0082a4'/>
<id>9e5e969479ec6018e1ba06b95bcdefca5b0082a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
