<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/test/test_repo.py, 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>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>TST: Mark test_repo.TestRepo.test_submodules as xfail on Cygwin</title>
<updated>2022-06-21T00:41:36+00:00</updated>
<author>
<name>DWesl</name>
<email>22566757+DWesl@users.noreply.github.com</email>
</author>
<published>2022-06-21T00:41:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=0eda0a54b3093681ed5431c003ec4994aecfe273'/>
<id>0eda0a54b3093681ed5431c003ec4994aecfe273</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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://git.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://git.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>chore: `s/strip_newline/&amp;_in_stdout`</title>
<updated>2022-04-07T01:04:19+00:00</updated>
<author>
<name>Hiroki Tokunaga</name>
<email>tokusan441@gmail.com</email>
</author>
<published>2022-04-07T01:04:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=49150e79c6f7a19a0d61a5ea6864b9ac140264ff'/>
<id>49150e79c6f7a19a0d61a5ea6864b9ac140264ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(cmd): add the `strip_newline` flag</title>
<updated>2022-04-06T14:08:36+00:00</updated>
<author>
<name>Hiroki Tokunaga</name>
<email>tokusan441@gmail.com</email>
</author>
<published>2022-04-06T14:08:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=e4360aea32aad11bf3c54b0dc0a6cabb21b5e687'/>
<id>e4360aea32aad11bf3c54b0dc0a6cabb21b5e687</id>
<content type='text'>
This commit adds the `strip_newline` flag to the `Git.execute` method.
When this flag is set to `True`, it will trim the trailing `\n`. The
default value is `True` for backward compatibility. Setting it to
`False` is helpful for, e.g., the `git show` output, especially with the binary
file, as the missing `\n` may invalidate the file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds the `strip_newline` flag to the `Git.execute` method.
When this flag is set to `True`, it will trim the trailing `\n`. The
default value is `True` for backward compatibility. Setting it to
`False` is helpful for, e.g., the `git show` output, especially with the binary
file, as the missing `\n` may invalidate the file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added support of spaces for clone multi_options</title>
<updated>2021-07-27T08:49:40+00:00</updated>
<author>
<name>Igor Lakhtenkov</name>
<email>lakhtenkov@gmail.com</email>
</author>
<published>2021-07-27T08:41:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=717bfe9f7aa9c64e585e1202da03b1d72dededb8'/>
<id>717bfe9f7aa9c64e585e1202da03b1d72dededb8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adds repo.is_valid_object check</title>
<updated>2021-06-05T10:15:38+00:00</updated>
<author>
<name>Robert Westman</name>
<email>robert@byteflux.io</email>
</author>
<published>2021-06-05T10:15:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=385a8c6c1a72dc34f69c5273c1b4c1285cc1d3c5'/>
<id>385a8c6c1a72dc34f69c5273c1b4c1285cc1d3c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Conditionally throw an error</title>
<updated>2021-06-04T02:36:48+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2021-06-04T02:35:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=01a96b92f7d873cbd531d142813c2be7ab88d5a5'/>
<id>01a96b92f7d873cbd531d142813c2be7ab88d5a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reverts auto format introduced with 2dbc2be8</title>
<updated>2021-06-03T08:52:59+00:00</updated>
<author>
<name>Robert Westman</name>
<email>robert@byteflux.io</email>
</author>
<published>2021-06-03T08:52:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=79e24f78fa35136216130a10d163c91f9a6d4970'/>
<id>79e24f78fa35136216130a10d163c91f9a6d4970</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
