Commit ab27c835 by Edward Thomson

revwalk: update error message for clarity

parent 6990a492
...@@ -195,7 +195,7 @@ int git_revwalk_push_range(git_revwalk *walk, const char *range) ...@@ -195,7 +195,7 @@ int git_revwalk_push_range(git_revwalk *walk, const char *range)
return error; return error;
if (!revspec.to) { 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; error = GIT_EINVALIDSPEC;
goto out; goto out;
} }
......
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