Revparse does not handle refspecs

This commit is contained in:
Carlos Martín Nieto 2013-08-19 13:04:05 +02:00
parent 520287f63a
commit 6d69fbce31

View File

@ -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;
} }