git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
5a50085
)
setup: trivial style fixes
author
Felipe Contreras
<redacted>
Thu, 31 Oct 2013 09:25:46 +0000
(
03:25
-0600)
committer
Junio C Hamano
<redacted>
Thu, 31 Oct 2013 20:48:32 +0000
(13:48 -0700)
Signed-off-by: Felipe Contreras <redacted>
Signed-off-by: Junio C Hamano <redacted>
setup.c
patch
|
blob
|
history
diff --git
a/setup.c
b/setup.c
index dbf41387204766981ebda444bc56a0884f9341f5..5432a31b62800bfba4d5a19226946ea30c5446a4 100644
(file)
--- a/
setup.c
+++ b/
setup.c
@@
-563,7
+563,7
@@
static const char *setup_git_directory_gently_1(int *nongit_ok)
{
const char *env_ceiling_dirs = getenv(CEILING_DIRECTORIES_ENVIRONMENT);
struct string_list ceiling_dirs = STRING_LIST_INIT_DUP;
- static char cwd[PATH_MAX
+
1];
+ static char cwd[PATH_MAX
+
1];
const char *gitdirenv, *ret;
char *gitfile;
int len, offset, offset_parent, ceil_offset = -1;
@@
-578,7
+578,7
@@
static const char *setup_git_directory_gently_1(int *nongit_ok)
if (nongit_ok)
*nongit_ok = 0;
- if (!getcwd(cwd, sizeof(cwd)
-
1))
+ if (!getcwd(cwd, sizeof(cwd)
-
1))
die_errno("Unable to read current working directory");
offset = len = strlen(cwd);
git clone https://git.99rst.org/PROJECT