<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/test/test_repo.py, branch 2.1.12</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>Add support to pass clone options that can be repeated multiple times</title>
<updated>2019-07-06T03:20:23+00:00</updated>
<author>
<name>Steven Whitman</name>
<email>ninloot@gmail.com</email>
</author>
<published>2019-02-01T20:03:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=41b9cea832ad5614df94c314d29d4b044aadce88'/>
<id>41b9cea832ad5614df94c314d29d4b044aadce88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Respect _common_dir when finding repository config file</title>
<updated>2018-10-13T11:41:13+00:00</updated>
<author>
<name>Luc Ritchie</name>
<email>wlritchi@delegopayments.com</email>
</author>
<published>2018-09-14T17:10:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=89df64132ccd76568ade04b5cf4e68cb67f0c5c0'/>
<id>89df64132ccd76568ade04b5cf4e68cb67f0c5c0</id>
<content type='text'>
Among other things, remotes are now correctly identified when in a
separate worktree.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Among other things, remotes are now correctly identified when in a
separate worktree.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow pathlib.Path in Repo.__init__</title>
<updated>2018-07-15T12:26:15+00:00</updated>
<author>
<name>oldPadavan</name>
<email>evggoncharov@gmail.com</email>
</author>
<published>2018-07-12T11:04:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=7f08b7730438bde34ae55bc3793fa524047bb804'/>
<id>7f08b7730438bde34ae55bc3793fa524047bb804</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>648 max_chunk_size can be now set to control output_stream behavior</title>
<updated>2018-05-18T11:59:50+00:00</updated>
<author>
<name>Piotr Babij</name>
<email>piotr.babij@gmail.com</email>
</author>
<published>2017-10-03T15:16:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=7be3486dc7f91069226919fea146ca1fec905657'/>
<id>7be3486dc7f91069226919fea146ca1fec905657</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace function call with set literal</title>
<updated>2018-03-18T20:26:30+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2018-03-18T18:03:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=14582df679a011e8c741eb5dcd8126f883e1bc71'/>
<id>14582df679a011e8c741eb5dcd8126f883e1bc71</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop support for EOL Python 2.6</title>
<updated>2018-03-18T20:26:04+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2018-03-18T10:06:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=929f3e1e1b664ed8cdef90a40c96804edfd08d59'/>
<id>929f3e1e1b664ed8cdef90a40c96804edfd08d59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Converting path in clone and clone_from to str before any other operation in case eg pathlib.Path is passed</title>
<updated>2017-10-07T10:23:46+00:00</updated>
<author>
<name>Mikuláš Poul</name>
<email>mikulaspoul@gmail.com</email>
</author>
<published>2017-10-07T10:23:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=4ee7e1a72aa2b9283223a8270a7aa9cb2cdb5ced'/>
<id>4ee7e1a72aa2b9283223a8270a7aa9cb2cdb5ced</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Keeping env values passed to `clone_from`</title>
<updated>2017-09-30T20:00:02+00:00</updated>
<author>
<name>Piotr Babij</name>
<email>piotr.babij@gmail.com</email>
</author>
<published>2017-09-30T20:00:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=53373c8069425af5007fb0daac54f44f9aadb288'/>
<id>53373c8069425af5007fb0daac54f44f9aadb288</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='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/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>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='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/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>
</feed>
