<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/refs/head.py, branch 3.1.0</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>removed Unnecessary “else” after “return”</title>
<updated>2019-10-15T16:47:24+00:00</updated>
<author>
<name>Pratik Anurag</name>
<email>panurag247365@gmail.com</email>
</author>
<published>2019-10-15T14:20:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=64b85ee4cbaeb38a6dc1637a5a1cf04e98031b4b'/>
<id>64b85ee4cbaeb38a6dc1637a5a1cf04e98031b4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite unnecessary dict/list/tuple calls as literals</title>
<updated>2018-03-18T20:26:31+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2018-03-18T19:33:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=ac4f7d34f8752ab78949efcaa9f0bd938df33622'/>
<id>ac4f7d34f8752ab78949efcaa9f0bd938df33622</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(refs): handle quoted branch names</title>
<updated>2016-12-08T15:01:35+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-12-08T15:01:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=f21630bcf83c363916d858dd7b6cb1edc75e2d3b'/>
<id>f21630bcf83c363916d858dd7b6cb1edc75e2d3b</id>
<content type='text'>
Fixes #550
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #550
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some typos</title>
<updated>2016-10-20T22:20:32+00:00</updated>
<author>
<name>Santiago Castro</name>
<email>santi.1410@hotmail.com</email>
</author>
<published>2016-10-20T22:20:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=66c41eb3b2b4130c7b68802dd2078534d1f6bf7a'/>
<id>66c41eb3b2b4130c7b68802dd2078534d1f6bf7a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>io: Wrap (probably) allconfig_writers in `with` blocks</title>
<updated>2016-10-04T00:11:31+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-10-02T12:26:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=8a2f7dce43617b773a6be425ea155812396d3856'/>
<id>8a2f7dce43617b773a6be425ea155812396d3856</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(Head): checkout() handles detached head</title>
<updated>2016-09-11T16:30:21+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-09-11T16:30:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=06c9c919707ba4116442ca53ac7cf035540981f2'/>
<id>06c9c919707ba4116442ca53ac7cf035540981f2</id>
<content type='text'>
It's not optimal, as we can now return one of two types
which are only compatible in the most basic ways.

However, it is better than before, I presume.

Fixes #510
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's not optimal, as we can now return one of two types
which are only compatible in the most basic ways.

However, it is better than before, I presume.

Fixes #510
</pre>
</div>
</content>
</entry>
<entry>
<title>Always add '--' to git reset</title>
<updated>2015-07-17T20:58:28+00:00</updated>
<author>
<name>James E. Blair</name>
<email>jeblair@hp.com</email>
</author>
<published>2015-07-17T20:58:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=bdc38b83f4a6d39603dc845755df49065a19d029'/>
<id>bdc38b83f4a6d39603dc845755df49065a19d029</id>
<content type='text'>
If a git repo has the misfortune to have a file with the name "HEAD"
at the root level of the repo, git will return an error because it
is unsure whether the file or ref is meant:

    File "/usr/local/lib/python2.7/dist-packages/git/refs/head.py", line 81, in reset
      self.repo.git.reset(mode, commit, add_arg, paths, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 440, in &lt;lambda&gt;
      return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 834, in _call_process
      return self.execute(make_call(), **_kwargs)
    File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 627, in execute
      raise GitCommandError(command, status, stderr_value)
  GitCommandError: 'git reset --hard HEAD' returned with exit code 128
  stderr: 'fatal: ambiguous argument 'HEAD': both revision and filename
  Use '--' to separate filenames from revisions'

Implement its suggested fix by always passing '--' as an argument to
"git reset".  It is fine to pass it with no file specifiers afterwords.
In that case, git knows that "HEAD" is always meant as the ref.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a git repo has the misfortune to have a file with the name "HEAD"
at the root level of the repo, git will return an error because it
is unsure whether the file or ref is meant:

    File "/usr/local/lib/python2.7/dist-packages/git/refs/head.py", line 81, in reset
      self.repo.git.reset(mode, commit, add_arg, paths, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 440, in &lt;lambda&gt;
      return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 834, in _call_process
      return self.execute(make_call(), **_kwargs)
    File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 627, in execute
      raise GitCommandError(command, status, stderr_value)
  GitCommandError: 'git reset --hard HEAD' returned with exit code 128
  stderr: 'fatal: ambiguous argument 'HEAD': both revision and filename
  Use '--' to separate filenames from revisions'

Implement its suggested fix by always passing '--' as an argument to
"git reset".  It is fine to pass it with no file specifiers afterwords.
In that case, git knows that "HEAD" is always meant as the ref.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed some doc strings to build correctly with sphinx</title>
<updated>2015-01-14T16:49:33+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-14T16:47:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=6569c4849197c9475d85d05205c55e9ef28950c1'/>
<id>6569c4849197c9475d85d05205c55e9ef28950c1</id>
<content type='text'>
Fixes #7

[ci skip]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #7

[ci skip]
</pre>
</div>
</content>
</entry>
<entry>
<title>test_repo works</title>
<updated>2015-01-06T13:05:30+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-06T13:05:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=a05e49d2419d65c59c65adf5cd8c05f276550e1d'/>
<id>a05e49d2419d65c59c65adf5cd8c05f276550e1d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>initial set of adjustments to make (most) imports work.</title>
<updated>2015-01-04T18:14:33+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-04T18:14:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=f6aa8d116eb33293c0a9d6d600eb7c32832758b9'/>
<id>f6aa8d116eb33293c0a9d6d600eb7c32832758b9</id>
<content type='text'>
More to come, especially when it's about strings
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More to come, especially when it's about strings
</pre>
</div>
</content>
</entry>
</feed>
