diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2022-07-13 22:25:11 -0400 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2022-07-13 22:50:33 -0400 |
| commit | b43567d655b6fbc562a165095a6980d19c4ae278 (patch) | |
| tree | ee84020f9f2c9f53a1f11656e2cd1205502cda48 /tests/libgit2/email | |
| parent | 433a133402fae298f8ee7613bcfd997c2712d269 (diff) | |
| download | libgit2-b43567d655b6fbc562a165095a6980d19c4ae278.tar.gz | |
sha256: indirection for experimental functions
The experimental function signature is only available when
`GIT_EXPERIMENTAL_SHA256` is enabled.
Diffstat (limited to 'tests/libgit2/email')
| -rw-r--r-- | tests/libgit2/email/create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libgit2/email/create.c b/tests/libgit2/email/create.c index d0e33a585..cf40ff552 100644 --- a/tests/libgit2/email/create.c +++ b/tests/libgit2/email/create.c @@ -24,7 +24,7 @@ static void email_for_commit( git_commit *commit = NULL; git_diff *diff = NULL; - git_oid_fromstr(&oid, commit_id, GIT_OID_SHA1); + git_oid__fromstr(&oid, commit_id, GIT_OID_SHA1); cl_git_pass(git_commit_lookup(&commit, repo, &oid)); @@ -323,7 +323,7 @@ void test_email_create__custom_summary_and_body(void) opts.subject_prefix = "PPPPPATCH"; - git_oid_fromstr(&oid, "627e7e12d87e07a83fad5b6bfa25e86ead4a5270", GIT_OID_SHA1); + git_oid__fromstr(&oid, "627e7e12d87e07a83fad5b6bfa25e86ead4a5270", GIT_OID_SHA1); cl_git_pass(git_commit_lookup(&commit, repo, &oid)); cl_git_pass(git_diff__commit(&diff, repo, commit, NULL)); cl_git_pass(git_email_create_from_diff(&buf, diff, 2, 4, &oid, summary, body, git_commit_author(commit), &opts)); |
