<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/test, 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>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>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>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>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>
<entry>
<title>Use the same regex as the Actor class when determining co-authors.</title>
<updated>2022-08-24T18:05:45+00:00</updated>
<author>
<name>Twist</name>
<email>itsluketwist@gmail.com</email>
</author>
<published>2022-08-24T18:05:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=09f8a1b7b674d6138b872643b13ffc5444fab24f'/>
<id>09f8a1b7b674d6138b872643b13ffc5444fab24f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add malformed co-authors to the test, to check they aren't detected with the regex.</title>
<updated>2022-08-23T18:50:00+00:00</updated>
<author>
<name>Twist</name>
<email>itsluketwist@gmail.com</email>
</author>
<published>2022-08-23T18:50:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=3cb7ecf4e03c599d9e6f0b2416082025d3fa849a'/>
<id>3cb7ecf4e03c599d9e6f0b2416082025d3fa849a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add co_authors property to the Commit object, which parses the commit message for designated co-authors, include a simple test.</title>
<updated>2022-08-22T17:00:37+00:00</updated>
<author>
<name>Twist</name>
<email>itsluketwist@gmail.com</email>
</author>
<published>2022-08-22T17:00:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=146cbdaffdd1b551e6689f162e26226d5a351d6e'/>
<id>146cbdaffdd1b551e6689f162e26226d5a351d6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix source comment typos</title>
<updated>2022-08-17T21:12:37+00:00</updated>
<author>
<name>luz paz</name>
<email>luzpaz@pm.me</email>
</author>
<published>2022-08-17T21:12:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=50d7ddbc35694dff369b689029adbffd0d668364'/>
<id>50d7ddbc35694dff369b689029adbffd0d668364</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 #1459 from AustinScola/ascola/fix-blob-filter-types</title>
<updated>2022-07-02T00:35:17+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2022-07-02T00:35:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=ca2cf108522b0a298caf8f32e72df1c6006abcf8'/>
<id>ca2cf108522b0a298caf8f32e72df1c6006abcf8</id>
<content type='text'>
Fix blob filter types</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix blob filter types</pre>
</div>
</content>
</entry>
<entry>
<title>Remove stage type as parameter from blob filter test</title>
<updated>2022-07-01T12:19:07+00:00</updated>
<author>
<name>Austin Scola</name>
<email>austinscola@gmail.com</email>
</author>
<published>2022-07-01T12:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=da59d7481668a7133eebcd12b4d5ecfb655296a6'/>
<id>da59d7481668a7133eebcd12b4d5ecfb655296a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
