revwalk: update error message for clarity
diff --git a/src/revwalk.c b/src/revwalk.c
index 7bb2911..935bd4d 100644
--- a/src/revwalk.c
+++ b/src/revwalk.c
@@ -195,7 +195,7 @@ int git_revwalk_push_range(git_revwalk *walk, const char *range)
return error;
if (!revspec.to) {
- git_error_set(GIT_ERROR_INVALID, "invalid revspec. Only range supported.");
+ git_error_set(GIT_ERROR_INVALID, "invalid revspec: range not provided");
error = GIT_EINVALIDSPEC;
goto out;
}