diff options
author | Michael Schubert <schu@schu.io> | 2013-02-26 04:03:56 +0400 |
---|---|---|
committer | Michael Schubert <schu@schu.io> | 2013-02-26 04:08:34 +0400 |
commit | 8005c6d420a2d8f00d96c1c0a385db91c88613c0 (patch) | |
tree | 64a800fed99465a16f88e903964b7d940feba8b6 /tests-clar/object | |
parent | f657688bc7616b189ea455ade4c8a4909e2786d8 (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.c | 2 |
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)); |