Unverified Commit 0d30e7bb by Laurence McGlashan Committed by GitHub

Apply suggestions from code review

Co-authored-by: Edward Thomson <ethomson@github.com>
parent 6cf9a0b3
...@@ -64,6 +64,7 @@ void test_win32_longpath__workdir_path_validated(void) ...@@ -64,6 +64,7 @@ void test_win32_longpath__workdir_path_validated(void)
#endif #endif
} }
#ifdef GIT_WIN32
static void assert_longpath_status_and_add(git_repository* repo) { static void assert_longpath_status_and_add(git_repository* repo) {
git_index *index; git_index *index;
git_buf out = GIT_BUF_INIT; git_buf out = GIT_BUF_INIT;
...@@ -85,6 +86,7 @@ static void assert_longpath_status_and_add(git_repository* repo) { ...@@ -85,6 +86,7 @@ static void assert_longpath_status_and_add(git_repository* repo) {
git_index_free(index); git_index_free(index);
git_buf_dispose(&out); git_buf_dispose(&out);
} }
#endif
void test_win32_longpath__status_and_add(void) void test_win32_longpath__status_and_add(void)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment