<feed xmlns='http://www.w3.org/2005/Atom'>
<title>GitPython/git/repo, branch 2.1.7</title>
<subtitle>Forked from https://github.com/gitpython-developers/GitPython</subtitle>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/'/>
<entry>
<title>Merge pull request #654 from vathpela/worktrees</title>
<updated>2017-09-28T13:02:53+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2017-09-28T13:02:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=a5f034355962c5156f20b4de519aae18478b413a'/>
<id>a5f034355962c5156f20b4de519aae18478b413a</id>
<content type='text'>
worktrees: make non-packed refs also work correctly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
worktrees: make non-packed refs also work correctly.</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of https://github.com/Plazmaz/GitPython into Plazmaz-master</title>
<updated>2017-09-28T12:49:51+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2017-09-28T12:43:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=fb43244026643e540a2fac35b2997c6aa0e139c4'/>
<id>fb43244026643e540a2fac35b2997c6aa0e139c4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>util: move expand_path from repo/base and use it in Git class init</title>
<updated>2017-08-25T09:55:56+00:00</updated>
<author>
<name>Alexis Horgix Chotard</name>
<email>alexis.horgix.chotard@gmail.com</email>
</author>
<published>2017-08-25T09:51:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=a2d678792d3154d5de04a5225079f2e0457b45b7'/>
<id>a2d678792d3154d5de04a5225079f2e0457b45b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed missing parameter and changed name</title>
<updated>2017-08-24T20:50:21+00:00</updated>
<author>
<name>Dylan Katz</name>
<email>git@dylankatz.com</email>
</author>
<published>2017-08-21T18:09:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=67291f0ab9b8aa24f7eb6032091c29106de818ab'/>
<id>67291f0ab9b8aa24f7eb6032091c29106de818ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>worktrees: make non-packed refs also work correctly.</title>
<updated>2017-08-22T21:12:54+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2017-08-03T21:33:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=d1c40f46bd547be663b4cd97a80704279708ea8a'/>
<id>d1c40f46bd547be663b4cd97a80704279708ea8a</id>
<content type='text'>
Turns out aec58a9 did the right thing for /packed/ refs, but didn't work
correctly on /unpacked/ refs.  So this patch gives unpacked refs the
same treatment.

Without the fix here, the test added will cause this traceback:

======================================================================
ERROR: Check that we find .git as a worktree file and find the worktree
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pjones/devel/github.com/GitPython/git/test/lib/helper.py", line 92, in wrapper
    return func(self, path)
  File "/home/pjones/devel/github.com/GitPython/git/test/test_repo.py", line 938, in test_git_work_tree_dotgit
    self.assertIsInstance(repo.heads['aaaaaaaa'], Head)
  File "/home/pjones/devel/github.com/GitPython/git/util.py", line 893, in __getitem__
    raise IndexError("No item found with id %r" % (self._prefix + index))
IndexError: No item found with id 'aaaaaaaa'

Woops.

Things I've learned:
- test_remote doesn't work currently if you start on a branch.  I think
  it never did?
- Because of 346424da, all *sorts* of stuff in the test suite doesn't
  work if you name your development branch "packed-refs"
  (This seems like a bug...)

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turns out aec58a9 did the right thing for /packed/ refs, but didn't work
correctly on /unpacked/ refs.  So this patch gives unpacked refs the
same treatment.

Without the fix here, the test added will cause this traceback:

======================================================================
ERROR: Check that we find .git as a worktree file and find the worktree
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pjones/devel/github.com/GitPython/git/test/lib/helper.py", line 92, in wrapper
    return func(self, path)
  File "/home/pjones/devel/github.com/GitPython/git/test/test_repo.py", line 938, in test_git_work_tree_dotgit
    self.assertIsInstance(repo.heads['aaaaaaaa'], Head)
  File "/home/pjones/devel/github.com/GitPython/git/util.py", line 893, in __getitem__
    raise IndexError("No item found with id %r" % (self._prefix + index))
IndexError: No item found with id 'aaaaaaaa'

Woops.

Things I've learned:
- test_remote doesn't work currently if you start on a branch.  I think
  it never did?
- Because of 346424da, all *sorts* of stuff in the test suite doesn't
  work if you name your development branch "packed-refs"
  (This seems like a bug...)

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix leaking environment variables</title>
<updated>2017-08-21T18:19:50+00:00</updated>
<author>
<name>Dylan Katz</name>
<email>git@dylankatz.com</email>
</author>
<published>2017-08-21T17:14:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=54709d9efd4624745ed0f67029ca30ee2ca87bc9'/>
<id>54709d9efd4624745ed0f67029ca30ee2ca87bc9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Repo: handle worktrees better</title>
<updated>2017-07-01T11:59:17+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2017-06-26T18:54:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=aec58a9d386d4199374139cd1fc466826ac3d2cf'/>
<id>aec58a9d386d4199374139cd1fc466826ac3d2cf</id>
<content type='text'>
This makes Repo("foo") work when foo/.git is a file of the form created
by "git worktree add", i.e. it's a text file that says:

gitdir: /home/me/project/.git/worktrees/bar

and where /home/me/project/.git/ is the nominal gitdir, but
/home/me/project/.git/worktrees/bar has this worktree's HEAD etc and a
"gitdir" file that contains the path of foo/.git .

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes Repo("foo") work when foo/.git is a file of the form created
by "git worktree add", i.e. it's a text file that says:

gitdir: /home/me/project/.git/worktrees/bar

and where /home/me/project/.git/ is the nominal gitdir, but
/home/me/project/.git/worktrees/bar has this worktree's HEAD etc and a
"gitdir" file that contains the path of foo/.git .

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle non-deterministic __del__ in Repo</title>
<updated>2017-04-09T13:11:56+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2017-04-09T13:11:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=39335e6242c93d5ba75e7ab8d7926f5a49c119a3'/>
<id>39335e6242c93d5ba75e7ab8d7926f5a49c119a3</id>
<content type='text'>
Fixes #610
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #610
</pre>
</div>
</content>
</entry>
<entry>
<title>so minor that wasn't even worth my time typing this comment</title>
<updated>2017-04-04T08:36:34+00:00</updated>
<author>
<name>Yaroslav Halchenko</name>
<email>debian@onerussian.com</email>
</author>
<published>2017-04-03T20:02:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=3ef889531eed9ac73ece70318d4eeb45d81b9bc5'/>
<id>3ef889531eed9ac73ece70318d4eeb45d81b9bc5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Spelling fixes</title>
<updated>2017-03-09T10:03:29+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2017-03-09T09:35:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=8dffba51b4fd88f7d26a43cf6d1fbbe3cdb9f44d'/>
<id>8dffba51b4fd88f7d26a43cf6d1fbbe3cdb9f44d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
