diff options
| author | Vicent Marti <vicent@github.com> | 2014-01-27 09:39:36 -0800 |
|---|---|---|
| committer | Vicent Marti <vicent@github.com> | 2014-01-27 09:39:36 -0800 |
| commit | 93954245e081ff803028431c5da2c8a073512643 (patch) | |
| tree | cb9a16891871bead0af7188f7400c8e7ae4c8692 /tests/object | |
| parent | 46e7fc1853bb92a2deae93543477f1c1255352d0 (diff) | |
| parent | a1bbc0ce205b6d3496338d3253c847aa91cabc7b (diff) | |
| download | libgit2-93954245e081ff803028431c5da2c8a073512643.tar.gz | |
Merge pull request #2075 from libgit2/cmn/leftover-oid
Leftover OID -> ID changes
Diffstat (limited to 'tests/object')
| -rw-r--r-- | tests/object/commit/commitstagedfile.c | 2 | ||||
| -rw-r--r-- | tests/object/tree/duplicateentries.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/object/commit/commitstagedfile.c b/tests/object/commit/commitstagedfile.c index 150927728..fbeeccbbd 100644 --- a/tests/object/commit/commitstagedfile.c +++ b/tests/object/commit/commitstagedfile.c @@ -77,7 +77,7 @@ void test_object_commit_commitstagedfile__generate_predictable_object_ids(void) entry = git_index_get_byindex(index, 0); - cl_assert(git_oid_cmp(&expected_blob_oid, &entry->oid) == 0); + cl_assert(git_oid_cmp(&expected_blob_oid, &entry->id) == 0); /* * Information about index entry should match test file diff --git a/tests/object/tree/duplicateentries.c b/tests/object/tree/duplicateentries.c index 9262f9a1a..1b752acbb 100644 --- a/tests/object/tree/duplicateentries.c +++ b/tests/object/tree/duplicateentries.c @@ -127,17 +127,17 @@ static void add_fake_conflicts(git_index *index) ancestor_entry.path = "duplicate"; ancestor_entry.mode = GIT_FILEMODE_BLOB; ancestor_entry.flags |= (1 << GIT_IDXENTRY_STAGESHIFT); - git_oid_fromstr(&ancestor_entry.oid, "a8233120f6ad708f843d861ce2b7228ec4e3dec6"); + git_oid_fromstr(&ancestor_entry.id, "a8233120f6ad708f843d861ce2b7228ec4e3dec6"); our_entry.path = "duplicate"; our_entry.mode = GIT_FILEMODE_BLOB; ancestor_entry.flags |= (2 << GIT_IDXENTRY_STAGESHIFT); - git_oid_fromstr(&our_entry.oid, "45b983be36b73c0788dc9cbcb76cbb80fc7bb057"); + git_oid_fromstr(&our_entry.id, "45b983be36b73c0788dc9cbcb76cbb80fc7bb057"); their_entry.path = "duplicate"; their_entry.mode = GIT_FILEMODE_BLOB; ancestor_entry.flags |= (3 << GIT_IDXENTRY_STAGESHIFT); - git_oid_fromstr(&their_entry.oid, "a71586c1dfe8a71c6cbf6c129f404c5642ff31bd"); + git_oid_fromstr(&their_entry.id, "a71586c1dfe8a71c6cbf6c129f404c5642ff31bd"); cl_git_pass(git_index_conflict_add(index, &ancestor_entry, &our_entry, &their_entry)); } |
