<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git, branch 3.1.28</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>bump version to 3.1.28</title>
<updated>2022-10-07T01:50:32+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2022-10-07T01:50:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=b6d9264de3536779f2ba35d696e578fe2fb6dfd6'/>
<id>b6d9264de3536779f2ba35d696e578fe2fb6dfd6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>prepare changelog</title>
<updated>2022-10-07T01:50:01+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2022-10-07T01:50:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=5e3a1dc469dcadbbaf4984d2aacea317ee9d304a'/>
<id>5e3a1dc469dcadbbaf4984d2aacea317ee9d304a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1497 from dwapstra/git_diff_empty</title>
<updated>2022-09-27T14:22:14+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2022-09-27T14:22:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=0d28eaac0320d2fd25c88656b42973ea31edcbda'/>
<id>0d28eaac0320d2fd25c88656b42973ea31edcbda</id>
<content type='text'>
Ignore empty info in diff line</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ignore empty info in diff line</pre>
</div>
</content>
</entry>
<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://91.123.203.49/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>Merge pull request #1491 from langfield/main</title>
<updated>2022-09-14T00:25:04+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2022-09-14T00:25:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=b27c41aac3cbc95ad15823058228b8d2461b8e7c'/>
<id>b27c41aac3cbc95ad15823058228b8d2461b8e7c</id>
<content type='text'>
Fix bug where colons in paths raise a `ValueError` on `diff()` calls.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix bug where colons in paths raise a `ValueError` on `diff()` calls.</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://91.123.203.49/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>Merge pull request #1485 from thehale/blame/rev-opts</title>
<updated>2022-08-31T23:59:02+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2022-08-31T23:59:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=bec61576ae75803bc4e60d8de7a629c194313d1c'/>
<id>bec61576ae75803bc4e60d8de7a629c194313d1c</id>
<content type='text'>
feat(blame): Support custom `rev_opts` for blame</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
feat(blame): Support custom `rev_opts` for blame</pre>
</div>
</content>
</entry>
<entry>
<title>feat(blame): Support custom `rev_opts` for blame</title>
<updated>2022-08-31T05:04:34+00:00</updated>
<author>
<name>Joseph Hale</name>
<email>me@jhale.dev</email>
</author>
<published>2022-08-30T06:45:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=18a79d8028f934f8f78da33de3b0523fc7d1df47'/>
<id>18a79d8028f934f8f78da33de3b0523fc7d1df47</id>
<content type='text'>
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`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'add-co-authors'</title>
<updated>2022-08-25T01:42:50+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2022-08-25T01:42:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=73bde1f27711e48bd887b5a13cd5e3a0a8d9d723'/>
<id>73bde1f27711e48bd887b5a13cd5e3a0a8d9d723</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow failure of that one test on cygwin</title>
<updated>2022-08-25T01:28:54+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2022-08-25T01:28:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=72cf71cb3e9d0458dc27158ecb67d8dd4f26af04'/>
<id>72cf71cb3e9d0458dc27158ecb67d8dd4f26af04</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
