Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tutorial: setting up a tree for subsystem maintainers
[gitweb.git]
/
path.c
diff --git
a/path.c
b/path.c
index 84b3272d94dbc301131d55660be41d5150a1cdef..4d889473a78a2c6fa38a0b54a48fe55bd83e9b02 100644
(file)
--- a/
path.c
+++ b/
path.c
@@
-181,7
+181,7
@@
char *enter_repo(char *path, int strict)
return NULL;
if (strict) {
- if
((path[0] != '/') ||
chdir(path) < 0)
+ if
(
chdir(path) < 0)
return NULL;
}
else {