mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-21 10:34:05 +00:00
tests: fix indentation in checkout::head::with_index_only_tree
This commit is contained in:
parent
e572b63121
commit
78b8f0392c
@ -38,7 +38,7 @@ void test_checkout_head__with_index_only_tree(void)
|
|||||||
cl_git_pass(git_repository_index(&index, g_repo));
|
cl_git_pass(git_repository_index(&index, g_repo));
|
||||||
|
|
||||||
p_mkdir("testrepo/newdir", 0777);
|
p_mkdir("testrepo/newdir", 0777);
|
||||||
cl_git_mkfile("testrepo/newdir/newfile.txt", "new file\n");
|
cl_git_mkfile("testrepo/newdir/newfile.txt", "new file\n");
|
||||||
|
|
||||||
cl_git_pass(git_index_add_bypath(index, "newdir/newfile.txt"));
|
cl_git_pass(git_index_add_bypath(index, "newdir/newfile.txt"));
|
||||||
cl_git_pass(git_index_write(index));
|
cl_git_pass(git_index_write(index));
|
||||||
|
Loading…
Reference in New Issue
Block a user