<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git, branch 3.1.29</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.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://git.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://git.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>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://git.baserock.org/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>Ignore flake8 error.</title>
<updated>2022-08-24T18:06:01+00:00</updated>
<author>
<name>Twist</name>
<email>itsluketwist@gmail.com</email>
</author>
<published>2022-08-24T18:06:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=4c460a3909a5df54fdae66fef6bb8ccbbe0c51d4'/>
<id>4c460a3909a5df54fdae66fef6bb8ccbbe0c51d4</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://git.baserock.org/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>Update regex to extract the author string, and create the Actor using the _from_string classmethod.</title>
<updated>2022-08-23T18:52:11+00:00</updated>
<author>
<name>Twist</name>
<email>itsluketwist@gmail.com</email>
</author>
<published>2022-08-23T18:52:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c2fd97e374f9c1187f165b18651928c011e6f041'/>
<id>c2fd97e374f9c1187f165b18651928c011e6f041</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://git.baserock.org/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>docs: add typerror exception to active_branch method</title>
<updated>2022-08-20T11:49:16+00:00</updated>
<author>
<name>Patrick Gerard</name>
<email>info@content-baer.de</email>
</author>
<published>2022-08-20T11:37:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=7dda25eafa80fc6cb2dd0a21f992205119270007'/>
<id>7dda25eafa80fc6cb2dd0a21f992205119270007</id>
<content type='text'>
docs: add typerror exception to active_branch method

fix: sphinx syntax

add author
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
docs: add typerror exception to active_branch method

fix: sphinx syntax

add author
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: incorrect PathLike corrected</title>
<updated>2022-08-07T16:32:57+00:00</updated>
<author>
<name>Predeactor</name>
<email>predeactor0@gmail.com</email>
</author>
<published>2022-08-07T16:32:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=2303971c73f4ceda1d2d50e55a7c9d99864b883e'/>
<id>2303971c73f4ceda1d2d50e55a7c9d99864b883e</id>
<content type='text'>
Signed-off-by: Predeactor &lt;predeactor0@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Predeactor &lt;predeactor0@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: remove bytes type of PathLike</title>
<updated>2022-08-07T16:31:03+00:00</updated>
<author>
<name>Predeactor</name>
<email>predeactor0@gmail.com</email>
</author>
<published>2022-08-07T16:31:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=4236b290ddc2eb224f9ff834a21b373015aad782'/>
<id>4236b290ddc2eb224f9ff834a21b373015aad782</id>
<content type='text'>
Signed-off-by: Predeactor &lt;predeactor0@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Predeactor &lt;predeactor0@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
