diff options
| author | Michael Schubert <schu@schu.io> | 2013-02-26 01:03:56 +0100 |
|---|---|---|
| committer | Michael Schubert <schu@schu.io> | 2013-02-26 01:08:34 +0100 |
| commit | 8005c6d420a2d8f00d96c1c0a385db91c88613c0 (patch) | |
| tree | 64a800fed99465a16f88e903964b7d940feba8b6 /tests-clar | |
| parent | f657688bc7616b189ea455ade4c8a4909e2786d8 (diff) | |
| download | libgit2-8005c6d420a2d8f00d96c1c0a385db91c88613c0.tar.gz | |
Revert "hash: remove git_hash_init from internal api"
This reverts commit efe7fad6c96a3d6197a218aeaa561ec676794499, except for
the indentation fixes.
Diffstat (limited to 'tests-clar')
| -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)); |
