diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-12-03 18:01:30 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-12-06 01:14:15 +0200 |
commit | 7d7cd8857a451ff50b126e452bcbdc0fb397db35 (patch) | |
tree | c9ddb750041ef6d22e8fef955df71dd6e7f2973f /tests/test_helpers.c | |
parent | 86bfec39b55c00ef499e635fdbdca7946c55fcde (diff) | |
download | libgit2-7d7cd8857a451ff50b126e452bcbdc0fb397db35.tar.gz |
Decouple storage from ODB logic
Comes with two default backends: loose object and packfiles.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'tests/test_helpers.c')
-rw-r--r-- | tests/test_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_helpers.c b/tests/test_helpers.c index 86192233a..cd14c0e29 100644 --- a/tests/test_helpers.c +++ b/tests/test_helpers.c @@ -125,7 +125,7 @@ int remove_loose_object(const char *repository_folder, git_object *object) int cmp_objects(git_rawobj *o, object_data *d) { - if (o->type != git_obj_string_to_type(d->type)) + if (o->type != git_otype_fromstring(d->type)) return -1; if (o->len != d->dlen) return -1; |