mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 20:29:27 +00:00
Revparse does not handle refspecs
This commit is contained in:
parent
520287f63a
commit
6d69fbce31
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user