summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2018-07-27 12:00:37 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2018-07-27 12:00:37 +0200
commitf00db9ed67423b04976f8d20b0de2ee1fb7c3993 (patch)
tree0d30d2ac8765b598f5b60393abaa99f14da4cb12 /tests
parent2dff7e282da77f6b791e843ec267d9ddecabc187 (diff)
downloadlibgit2-cmn/null-oid-existing-tree.tar.gz
tree: rename from_tree to validate and clarify the tree in the testcmn/null-oid-existing-tree
Diffstat (limited to 'tests')
-rw-r--r--tests/object/tree/update.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/object/tree/update.c b/tests/object/tree/update.c
index 167faecbb..41b50f3e9 100644
--- a/tests/object/tree/update.c
+++ b/tests/object/tree/update.c
@@ -293,6 +293,7 @@ void test_object_tree_update__remove_invalid_submodule(void)
{GIT_TREE_UPDATE_REMOVE, {{0}}, GIT_FILEMODE_BLOB, "submodule"},
};
+ /* This tree contains a submodule with an all-zero commit for a submodule named 'submodule' */
cl_git_pass(git_oid_fromstr(&baseline_id, "396c7f1adb7925f51ba13a75f48252f44c5a14a2"));
cl_git_pass(git_tree_lookup(&baseline, g_repo, &baseline_id));
cl_git_pass(git_tree_create_updated(&updated_tree_id, g_repo, baseline, 1, updates));