We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e3e832 commit f0714daCopy full SHA for f0714da
src/repository.c
@@ -1417,7 +1417,7 @@ static bool are_symlinks_supported(const char *wd_path)
1417
git_buf path = GIT_BUF_INIT;
1418
int fd;
1419
struct stat st;
1420
- bool symlinks = false;
+ int symlinks = 0;
1421
1422
/*
1423
* To emulate Git for Windows, symlinks on Windows must be explicitly
@@ -1462,7 +1462,7 @@ static bool are_symlinks_supported(const char *wd_path)
1462
done:
1463
git_buf_dispose(&path);
1464
git_config_free(config);
1465
- return symlinks;
+ return symlinks != 0;
1466
}
1467
1468
static int create_empty_file(const char *path, mode_t mode)
0 commit comments