Skip to content

Commit 0d30e7b

Browse files
lrm29Edward Thomson
andauthored
Apply suggestions from code review
Co-authored-by: Edward Thomson <ethomson@github.com>
1 parent 6cf9a0b commit 0d30e7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/win32/longpath.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ void test_win32_longpath__workdir_path_validated(void)
6464
#endif
6565
}
6666

67+
#ifdef GIT_WIN32
6768
static void assert_longpath_status_and_add(git_repository* repo) {
6869
git_index *index;
6970
git_buf out = GIT_BUF_INIT;
@@ -85,6 +86,7 @@ static void assert_longpath_status_and_add(git_repository* repo) {
8586
git_index_free(index);
8687
git_buf_dispose(&out);
8788
}
89+
#endif
8890

8991
void test_win32_longpath__status_and_add(void)
9092
{

0 commit comments

Comments
 (0)