path.c: delete an extra space
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
ec371ff6e3
commit
1fb5925905
2
path.c
2
path.c
@ -431,7 +431,7 @@ const char *enter_repo(const char *path, int strict)
|
|||||||
}
|
}
|
||||||
if (!suffix[i])
|
if (!suffix[i])
|
||||||
return NULL;
|
return NULL;
|
||||||
gitfile = read_gitfile(used_path) ;
|
gitfile = read_gitfile(used_path);
|
||||||
if (gitfile)
|
if (gitfile)
|
||||||
strcpy(used_path, gitfile);
|
strcpy(used_path, gitfile);
|
||||||
if (chdir(used_path))
|
if (chdir(used_path))
|
||||||
|
Reference in New Issue
Block a user