diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-11-26 11:49:58 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-11-26 12:09:23 +0100 |
commit | aaeb986f3a09c1353bdf50ab23cca8c53c397831 (patch) | |
tree | 6f0575dab0a2cd04558d854cc62d99e1fe93bd0f /lib/git/cmd.py | |
parent | 9c92df685d6c600a0a3324dff08a4d00d829a4f5 (diff) | |
download | gitpython-aaeb986f3a09c1353bdf50ab23cca8c53c397831.tar.gz |
SymbolicReferences can now be at any path within the repository, there is no restriction anymore.
Added a test to assure the git commands can handle it
Diffstat (limited to 'lib/git/cmd.py')
-rw-r--r-- | lib/git/cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/cmd.py b/lib/git/cmd.py index bccfb611..6ee8f355 100644 --- a/lib/git/cmd.py +++ b/lib/git/cmd.py @@ -344,7 +344,7 @@ class Git(object): """ tokens = header_line.split() if len(tokens) != 3: - raise ValueError("SHA named %s could not be resolved" % tokens[0] ) + raise ValueError("SHA named %s could not be resolved, git returned: %r" % (tokens[0], header_line.strip()) ) if len(tokens[0]) != 40: raise ValueError("Failed to parse header: %r" % header_line) return (tokens[0], tokens[1], int(tokens[2])) |