summaryrefslogtreecommitdiff
path: root/src/revwalk.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-05-12 22:05:26 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2019-05-12 22:05:26 +0100
commitab27c83561f5a312da7a6abe3221dfd7ee20d1fa (patch)
tree1ffb26d2ef861417c6ead30af10bac2c6343a268 /src/revwalk.c
parent6990a4926161d668560968b8c75f9d7c3d180737 (diff)
downloadlibgit2-ab27c83561f5a312da7a6abe3221dfd7ee20d1fa.tar.gz
revwalk: update error message for clarity
Diffstat (limited to 'src/revwalk.c')
-rw-r--r--src/revwalk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revwalk.c b/src/revwalk.c
index 7bb29110c..935bd4dde 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;
}