We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a50085 commit abf03eeCopy full SHA for abf03ee
1 file changed
setup.c
@@ -563,7 +563,7 @@ static const char *setup_git_directory_gently_1(int *nongit_ok)
563
{
564
const char *env_ceiling_dirs = getenv(CEILING_DIRECTORIES_ENVIRONMENT);
565
struct string_list ceiling_dirs = STRING_LIST_INIT_DUP;
566
- static char cwd[PATH_MAX+1];
+ static char cwd[PATH_MAX + 1];
567
const char *gitdirenv, *ret;
568
char *gitfile;
569
int len, offset, offset_parent, ceil_offset = -1;
@@ -578,7 +578,7 @@ static const char *setup_git_directory_gently_1(int *nongit_ok)
578
if (nongit_ok)
579
*nongit_ok = 0;
580
581
- if (!getcwd(cwd, sizeof(cwd)-1))
+ if (!getcwd(cwd, sizeof(cwd) - 1))
582
die_errno("Unable to read current working directory");
583
offset = len = strlen(cwd);
584
0 commit comments