setup: trivial style fixes
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Felipe Contreras committed
Oct 31, 2013 at 03:25 UTC
abf03eeb8e99538cd31806d5f252214b9fe695a6
1 file changed
+2
-2
setup.c
+2
-2
@@ -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];
566
+ 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))
581
+ if (!getcwd(cwd, sizeof(cwd) - 1))
582
die_errno("Unable to read current working directory");
583
offset = len = strlen(cwd);
584