<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git, branch 3.1.22</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>Merge pull request #1318 from Yobmod/main</title>
<updated>2021-09-09T18:49:13+00:00</updated>
<author>
<name>Dominic</name>
<email>yobmod@gmail.com</email>
</author>
<published>2021-09-09T18:49:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=cfcae1d839c5dbb94745c504993c9d5baebc44b5'/>
<id>cfcae1d839c5dbb94745c504993c9d5baebc44b5</id>
<content type='text'>
General fixes for next release</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
General fixes for next release</pre>
</div>
</content>
</entry>
<entry>
<title>Assure CWD is readable after acquiring it</title>
<updated>2021-09-05T03:40:50+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2021-09-05T03:27:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=5da76e8b4466459a3b6a400c4750a622879acce8'/>
<id>5da76e8b4466459a3b6a400c4750a622879acce8</id>
<content type='text'>
Fixes #1334
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1334
</pre>
</div>
</content>
</entry>
<entry>
<title>Add encoding to utf-8 for fetch_info_lines;</title>
<updated>2021-08-24T02:01:14+00:00</updated>
<author>
<name>f100024</name>
<email>f100024@gmx.com</email>
</author>
<published>2021-08-23T09:13:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=ef1ef4db2553384cc615ca2c5836883c52b910b0'/>
<id>ef1ef4db2553384cc615ca2c5836883c52b910b0</id>
<content type='text'>
Add encoding to utf-8 for fetch_head_info;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add encoding to utf-8 for fetch_head_info;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the Git class type definition within Repo classmethods</title>
<updated>2021-08-18T01:10:38+00:00</updated>
<author>
<name>Michael Mulich</name>
<email>michael.mulich@gmail.com</email>
</author>
<published>2021-08-17T19:57:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=1207747121a79a0cd14426e595f5fe72ccc1d51a'/>
<id>1207747121a79a0cd14426e595f5fe72ccc1d51a</id>
<content type='text'>
Allow the GitCommandWrapperType definition to be used within the Repo
classmethods. This change follows the intended purpose as stated in
the code, "Subclasses may easily bring in their own custom types by
placing a constructor or type here."

The usecase that prompted this change has to do with
`GIT_SSH_COMMAND`. The goal is to setup a custom `Git` class with
knowledge of the value, something like as follows

```python
from git import Git as BaseGit, Repo as BaseRepo

class Git(BaseGit):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        # For example, assign the SSH command using the current flask
        # app's configured setting.
        self.update_environment(GIT_SSH_COMMAND=current_app.config['GIT_SSH_COMMAND'])

class Repo(BaseRepo):
    GitCommandWrapperType = _Git
```

With this change, the above example will allow the developer to use
`Repo.clone_from(...)` with the indended outcome. Otherwise the
developer will have two differing result when using `Repo(...)` vs
`Repo.clone_from(...)`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow the GitCommandWrapperType definition to be used within the Repo
classmethods. This change follows the intended purpose as stated in
the code, "Subclasses may easily bring in their own custom types by
placing a constructor or type here."

The usecase that prompted this change has to do with
`GIT_SSH_COMMAND`. The goal is to setup a custom `Git` class with
knowledge of the value, something like as follows

```python
from git import Git as BaseGit, Repo as BaseRepo

class Git(BaseGit):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        # For example, assign the SSH command using the current flask
        # app's configured setting.
        self.update_environment(GIT_SSH_COMMAND=current_app.config['GIT_SSH_COMMAND'])

class Repo(BaseRepo):
    GitCommandWrapperType = _Git
```

With this change, the above example will allow the developer to use
`Repo.clone_from(...)` with the indended outcome. Otherwise the
developer will have two differing result when using `Repo(...)` vs
`Repo.clone_from(...)`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't fail on import if the working dir isn't valid (#1319)</title>
<updated>2021-08-11T23:37:46+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2021-08-11T23:30:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=5b3669e24a8ce7f3f482de86fcf95620db643467'/>
<id>5b3669e24a8ce7f3f482de86fcf95620db643467</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update changelog and version</title>
<updated>2021-08-09T17:02:25+00:00</updated>
<author>
<name>Yobmod</name>
<email>yobmod@gmail.com</email>
</author>
<published>2021-08-09T17:02:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=5835f013e88d5e29fa73fe7eac8f620cfd3fc0a1'/>
<id>5835f013e88d5e29fa73fe7eac8f620cfd3fc0a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>upgrade sphinx for 3.10 compat</title>
<updated>2021-08-09T16:14:31+00:00</updated>
<author>
<name>Yobmod</name>
<email>yobmod@gmail.com</email>
</author>
<published>2021-08-09T16:14:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c35ab1dd61e91bd55d939302d1f02e1c58985826'/>
<id>c35ab1dd61e91bd55d939302d1f02e1c58985826</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>try fix for Protocol buy in 3.10 3</title>
<updated>2021-08-09T09:08:42+00:00</updated>
<author>
<name>Yobmod</name>
<email>yobmod@gmail.com</email>
</author>
<published>2021-08-09T09:08:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=2f42966cd1ec287d1c2011224940131dbda2383d'/>
<id>2f42966cd1ec287d1c2011224940131dbda2383d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>try fix for Protocol buy in 3.10 2</title>
<updated>2021-08-09T08:58:16+00:00</updated>
<author>
<name>Yobmod</name>
<email>yobmod@gmail.com</email>
</author>
<published>2021-08-09T08:58:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=1349ddc19f5a7f6aa56b0bc53d2f2c002128d360'/>
<id>1349ddc19f5a7f6aa56b0bc53d2f2c002128d360</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>try fix for Protocol buy in 3.10</title>
<updated>2021-08-09T08:55:56+00:00</updated>
<author>
<name>Yobmod</name>
<email>yobmod@gmail.com</email>
</author>
<published>2021-08-09T08:55:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=079d7fd6994bc6751bef4797a027b9e6daf966f4'/>
<id>079d7fd6994bc6751bef4797a027b9e6daf966f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
