Skip to content

Commit ab27c83

Browse files
committed
revwalk: update error message for clarity
1 parent 6990a49 commit ab27c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/revwalk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ int git_revwalk_push_range(git_revwalk *walk, const char *range)
195195
return error;
196196

197197
if (!revspec.to) {
198-
git_error_set(GIT_ERROR_INVALID, "invalid revspec. Only range supported.");
198+
git_error_set(GIT_ERROR_INVALID, "invalid revspec: range not provided");
199199
error = GIT_EINVALIDSPEC;
200200
goto out;
201201
}

0 commit comments

Comments
 (0)