Created
May 5, 2014 19:49
-
-
Save marknorgren/86852a6b37c6bc98683b to your computer and use it in GitHub Desktop.
gitpython failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| >>> repo.remotes.origin.fetch() | |
| Traceback (most recent call last): | |
| File "<stdin>", line 1, in <module> | |
| File "/usr/local/lib/python2.7/site-packages/git/remote.py", line 550, in fetch | |
| return self._get_fetch_info_from_stderr(proc, progress or RemoteProgress()) | |
| File "/usr/local/lib/python2.7/site-packages/git/remote.py", line 497, in _get_fetch_info_from_stderr | |
| assert len(fetch_info_lines) == len(fetch_head_info) | |
| AssertionError |
Author
Author
Traceback (most recent call last):
File "batchgit.py", line 38, in
br = repo.active_branch.str()
File "/usr/local/lib/python2.7/site-packages/git/repo/base.py", line 546, in active_branch
return self.head.reference
File "/usr/local/lib/python2.7/site-packages/git/refs/symbolic.py", line 241, in _get_reference
raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha))
TypeError: HEAD is a detached symbolic reference as it points to '59bd66256e05e86e6f0c7e00deb081cb4a6619b3'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ python --version
Python 2.7.6
$ git --version
git version 1.9.2