File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -563,7 +563,7 @@ static const char *setup_git_directory_gently_1(int *nongit_ok)
563
563
{
564
564
const char * env_ceiling_dirs = getenv (CEILING_DIRECTORIES_ENVIRONMENT );
565
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
567
const char * gitdirenv , * ret ;
568
568
char * gitfile ;
569
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
578
if (nongit_ok )
579
579
* nongit_ok = 0 ;
580
580
581
- if (!getcwd (cwd , sizeof (cwd )- 1 ))
581
+ if (!getcwd (cwd , sizeof (cwd ) - 1 ))
582
582
die_errno ("Unable to read current working directory" );
583
583
offset = len = strlen (cwd );
584
584
You can’t perform that action at this time.
0 commit comments