From aaeb986f3a09c1353bdf50ab23cca8c53c397831 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 26 Nov 2009 11:49:58 +0100 Subject: 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 --- lib/git/cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/git/cmd.py') 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])) -- cgit v1.2.1