summaryrefslogtreecommitdiff
path: root/tests/t06-index.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t06-index.c')
-rw-r--r--tests/t06-index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t06-index.c b/tests/t06-index.c
index dde98abaf..44562d004 100644
--- a/tests/t06-index.c
+++ b/tests/t06-index.c
@@ -179,7 +179,7 @@ BEGIN_TEST(add0, "add a new file to the index")
must_pass(git_futils_mkpath2file(TEMP_REPO_FOLDER "myrepo/test.txt", 0777));
must_pass(git_filebuf_open(&file, TEMP_REPO_FOLDER "myrepo/test.txt", 0));
must_pass(git_filebuf_write(&file, "hey there\n", 10));
- must_pass(git_filebuf_commit(&file));
+ must_pass(git_filebuf_commit(&file, 0666));
/* Store the expected hash of the file/blob
* This has been generated by executing the following