Skip to content

Commit abf03ee

Browse files
felipecgitster
authored andcommitted
setup: trivial style fixes
Signed-off-by: Felipe Contreras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5a50085 commit abf03ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ static const char *setup_git_directory_gently_1(int *nongit_ok)
563563
{
564564
const char *env_ceiling_dirs = getenv(CEILING_DIRECTORIES_ENVIRONMENT);
565565
struct string_list ceiling_dirs = STRING_LIST_INIT_DUP;
566-
static char cwd[PATH_MAX+1];
566+
static char cwd[PATH_MAX + 1];
567567
const char *gitdirenv, *ret;
568568
char *gitfile;
569569
int len, offset, offset_parent, ceil_offset = -1;
@@ -578,7 +578,7 @@ static const char *setup_git_directory_gently_1(int *nongit_ok)
578578
if (nongit_ok)
579579
*nongit_ok = 0;
580580

581-
if (!getcwd(cwd, sizeof(cwd)-1))
581+
if (!getcwd(cwd, sizeof(cwd) - 1))
582582
die_errno("Unable to read current working directory");
583583
offset = len = strlen(cwd);
584584

0 commit comments

Comments
 (0)