diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-01-31 00:36:54 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-01-31 16:36:31 +0000 |
commit | 4732e03056b1b88fdeb3276d96dfd9400d75233a (patch) | |
tree | 6fee140f07bc425a16caa5c08ac39ef8bc993c8a /src/revwalk.c | |
parent | 50f536222b6576a4204b980978d6094770a21038 (diff) | |
download | libgit2-ethomson/revparse.tar.gz |
revspec: rename git_revparse_mode_t to git_revspec_tethomson/revparse
The information about the type of a revision spec is not information
about the parser. Name it accordingly, so that `git_revparse_mode_t`
is now `git_revspec_t`. Deprecate the old name.
Diffstat (limited to 'src/revwalk.c')
-rw-r--r-- | src/revwalk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revwalk.c b/src/revwalk.c index 249cb16bf..a686a9f6f 100644 --- a/src/revwalk.c +++ b/src/revwalk.c @@ -238,7 +238,7 @@ int git_revwalk_push_range(git_revwalk *walk, const char *range) goto out; } - if (revspec.flags & GIT_REVPARSE_MERGE_BASE) { + if (revspec.flags & GIT_REVSPEC_MERGE_BASE) { /* TODO: support "<commit>...<commit>" */ git_error_set(GIT_ERROR_INVALID, "symmetric differences not implemented in revwalk"); error = GIT_EINVALIDSPEC; |