<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/refs/head.py, branch 2.0.7</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>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>
<entry>
<title>Removed unnecessary (non-gitpython) tests and fixed flake8</title>
<updated>2015-01-04T15:07:02+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-04T15:07:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=1de8af907dbced4fde64ee2c7f57527fc43ad1cc'/>
<id>1de8af907dbced4fde64ee2c7f57527fc43ad1cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bumped version, updated changelog, reduced code smell</title>
<updated>2015-01-04T12:48:29+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-04T12:48:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c80d727e374321573bb00e23876a67c77ff466e3'/>
<id>c80d727e374321573bb00e23876a67c77ff466e3</id>
<content type='text'>
There is more work to do though, as many imports are still incorrect.
Also, there are still print statements
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is more work to do though, as many imports are still incorrect.
Also, there are still print statements
</pre>
</div>
</content>
</entry>
<entry>
<title>Applied autopep8</title>
<updated>2014-11-19T11:16:44+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2014-11-19T11:16:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=257264743154b975bc156f425217593be14727a9'/>
<id>257264743154b975bc156f425217593be14727a9</id>
<content type='text'>
Commandline was
autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commandline was
autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
</pre>
</div>
</content>
</entry>
<entry>
<title>pep8 linting (trailing whitespace)</title>
<updated>2014-11-16T20:09:47+00:00</updated>
<author>
<name>Antoine Musso</name>
<email>hashar@free.fr</email>
</author>
<published>2014-11-16T20:09:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c8e70749887370a99adeda972cc3503397b5f9a7'/>
<id>c8e70749887370a99adeda972cc3503397b5f9a7</id>
<content type='text'>
W291 trailing whitespace
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
W291 trailing whitespace
</pre>
</div>
</content>
</entry>
<entry>
<title>pep8 linting (whitespace before/after)</title>
<updated>2014-11-16T20:05:53+00:00</updated>
<author>
<name>Antoine Musso</name>
<email>hashar@free.fr</email>
</author>
<published>2014-11-16T19:56:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=614907b7445e2ed8584c1c37df7e466e3b56170f'/>
<id>614907b7445e2ed8584c1c37df7e466e3b56170f</id>
<content type='text'>
E201 whitespace after '('
E202 whitespace before ')'
E203 whitespace before ':'
E225 missing whitespace around operator
E226 missing whitespace around arithmetic operator
E227 missing whitespace around bitwise or shift operator
E228 missing whitespace around modulo operator
E231 missing whitespace after ','
E241 multiple spaces after ','
E251 unexpected spaces around keyword / parameter equals
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
E201 whitespace after '('
E202 whitespace before ')'
E203 whitespace before ':'
E225 missing whitespace around operator
E226 missing whitespace around arithmetic operator
E227 missing whitespace around bitwise or shift operator
E228 missing whitespace around modulo operator
E231 missing whitespace after ','
E241 multiple spaces after ','
E251 unexpected spaces around keyword / parameter equals
</pre>
</div>
</content>
</entry>
<entry>
<title>pep8 linting (blank lines expectations)</title>
<updated>2014-11-16T19:51:21+00:00</updated>
<author>
<name>Antoine Musso</name>
<email>hashar@free.fr</email>
</author>
<published>2014-11-16T19:51:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=be34ec23c48d6d5d8fd2ef4491981f6fb4bab8e6'/>
<id>be34ec23c48d6d5d8fd2ef4491981f6fb4bab8e6</id>
<content type='text'>
E301 expected 1 blank line, found 0
E302 expected 2 blank lines, found 1
E303 too many blank lines (n)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
E301 expected 1 blank line, found 0
E302 expected 2 blank lines, found 1
E303 too many blank lines (n)
</pre>
</div>
</content>
</entry>
</feed>
