<feed xmlns='http://www.w3.org/2005/Atom'>
<title>GitPython/git/refs, branch winerr_show</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>io, #519: ALL open() --&gt; with open()</title>
<updated>2016-10-01T16:25:57+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-10-01T16:20:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=9a521681ff8614beb8e2c566cf3c475baca22169'/>
<id>9a521681ff8614beb8e2c566cf3c475baca22169</id>
<content type='text'>
+ Some cases had restructuring of code.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ Some cases had restructuring of code.</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='https://git.otimperi.dev/GitPython/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>fix(tag): resolve `commit` objects deeply.</title>
<updated>2016-09-11T09:23:22+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-09-11T09:23:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=ae6e26ed4abac8b5e4e0a893da5546cd165d48e7'/>
<id>ae6e26ed4abac8b5e4e0a893da5546cd165d48e7</id>
<content type='text'>
As TagObjects can point to other TagObjects, we need
to keep going in order to resolve the final commit.

Fixes #503
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As TagObjects can point to other TagObjects, we need
to keep going in order to resolve the final commit.

Fixes #503
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/master'</title>
<updated>2016-07-29T10:33:17+00:00</updated>
<author>
<name>Barry Scott</name>
<email>barry@barrys-emacs.org</email>
</author>
<published>2016-07-29T10:33:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=1116ef7e1bcbbc71d0b654b63156b29bfbf9afab'/>
<id>1116ef7e1bcbbc71d0b654b63156b29bfbf9afab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use binary string constant for concatenation.</title>
<updated>2016-07-19T07:17:51+00:00</updated>
<author>
<name>Bert Wesarg</name>
<email>Bert.Wesarg@googlemail.com</email>
</author>
<published>2016-07-19T07:17:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=b827f8162f61285754202bec8494192bc229f75a'/>
<id>b827f8162f61285754202bec8494192bc229f75a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing newline when writing a symbolic ref.</title>
<updated>2016-07-19T06:38:02+00:00</updated>
<author>
<name>Bert Wesarg</name>
<email>Bert.Wesarg@googlemail.com</email>
</author>
<published>2016-07-19T06:38:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=cee0cec2d4a27bbc7af10b91a1ad39d735558798'/>
<id>cee0cec2d4a27bbc7af10b91a1ad39d735558798</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix corruption of the ref logs file</title>
<updated>2016-06-13T14:26:18+00:00</updated>
<author>
<name>Barry Scott</name>
<email>barry@barrys-emacs.org</email>
</author>
<published>2016-06-13T14:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=e0eafc47c307ff0bf589ce43b623bd24fad744fd'/>
<id>e0eafc47c307ff0bf589ce43b623bd24fad744fd</id>
<content type='text'>
It must only have the first line of the
commit messages, not the while multiple line log.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It must only have the first line of the
commit messages, not the while multiple line log.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(refs): don't raise StopIteration</title>
<updated>2016-03-28T08:25:05+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-03-28T08:25:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=c4c6851c55757fb0bc9d77da97d7db9e7ae232d7'/>
<id>c4c6851c55757fb0bc9d77da97d7db9e7ae232d7</id>
<content type='text'>
Fixes #394
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #394
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure file resources are released</title>
<updated>2015-07-26T13:42:00+00:00</updated>
<author>
<name>David García Garzón</name>
<email>david.garcia@upf.edu</email>
</author>
<published>2015-07-26T13:42:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=58c5b993d218c0ebc3f610c2e55a14b194862e1c'/>
<id>58c5b993d218c0ebc3f610c2e55a14b194862e1c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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='https://git.otimperi.dev/GitPython/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>
</feed>
