diff options
Diffstat (limited to 'examples/blame.c')
-rw-r--r-- | examples/blame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/blame.c b/examples/blame.c index 49350fc0f..954c97b17 100644 --- a/examples/blame.c +++ b/examples/blame.c @@ -54,7 +54,7 @@ int lg2_blame(git_repository *repo, int argc, char *argv[]) */ if (o.commitspec) { check_lg2(git_revparse(&revspec, repo, o.commitspec), "Couldn't parse commit spec", NULL); - if (revspec.flags & GIT_REVPARSE_SINGLE) { + if (revspec.flags & GIT_REVSPEC_SINGLE) { git_oid_cpy(&blameopts.newest_commit, git_object_id(revspec.from)); git_object_free(revspec.from); } else { |