diff options
Diffstat (limited to 'examples/rev-list.c')
-rw-r--r-- | examples/rev-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rev-list.c b/examples/rev-list.c index 75fb19e70..d10f16690 100644 --- a/examples/rev-list.c +++ b/examples/rev-list.c @@ -73,7 +73,7 @@ static int push_range(git_repository *repo, git_revwalk *walk, const char *range if ((error = git_revparse(&revspec, repo, range))) return error; - if (revspec.flags & GIT_REVPARSE_MERGE_BASE) { + if (revspec.flags & GIT_REVSPEC_MERGE_BASE) { /* TODO: support "<commit>...<commit>" */ return GIT_EINVALIDSPEC; } |