Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schubert <schu@schu.io>2013-02-26 04:03:56 +0400
committerMichael Schubert <schu@schu.io>2013-02-26 04:08:34 +0400
commit8005c6d420a2d8f00d96c1c0a385db91c88613c0 (patch)
tree64a800fed99465a16f88e903964b7d940feba8b6 /tests-clar/object
parentf657688bc7616b189ea455ade4c8a4909e2786d8 (diff)
Revert "hash: remove git_hash_init from internal api"
This reverts commit efe7fad6c96a3d6197a218aeaa561ec676794499, except for the indentation fixes.
Diffstat (limited to 'tests-clar/object')
-rw-r--r--tests-clar/object/raw/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/object/raw/hash.c b/tests-clar/object/raw/hash.c
index 6e31cfa56..ede31e145 100644
--- a/tests-clar/object/raw/hash.c
+++ b/tests-clar/object/raw/hash.c
@@ -35,7 +35,7 @@ void test_object_raw_hash__hash_by_blocks(void)
cl_assert(git_oid_cmp(&id1, &id2) == 0);
/* reinit should permit reuse */
- cl_git_pass(git_hash_ctx_init(&ctx));
+ cl_git_pass(git_hash_init(&ctx));
cl_git_pass(git_hash_update(&ctx, bye_text, strlen(bye_text)));
cl_git_pass(git_hash_final(&id2, &ctx));
cl_git_pass(git_oid_fromstr(&id1, bye_id));