projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix "do not DWIM" patch to enter_repo"
[git.git]
/
path.c
diff --git
a/path.c
b/path.c
index
84b3272
..
4d88947
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 {