Commit 6d69fbce by Carlos Martín Nieto

Revparse does not handle refspecs

parent 520287f6
...@@ -129,7 +129,7 @@ static int revparse_lookup_object( ...@@ -129,7 +129,7 @@ static int revparse_lookup_object(
if (error < 0 && error != GIT_ENOTFOUND) if (error < 0 && error != GIT_ENOTFOUND)
return error; return error;
giterr_set(GITERR_REFERENCE, "Refspec '%s' not found.", spec); giterr_set(GITERR_REFERENCE, "Revspec '%s' not found.", spec);
return GIT_ENOTFOUND; return GIT_ENOTFOUND;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment