diff options
Diffstat (limited to 'receive-pack.c')
-rw-r--r-- | receive-pack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/receive-pack.c b/receive-pack.c index 3267495832..c90ec7dde2 100644 --- a/receive-pack.c +++ b/receive-pack.c @@ -469,6 +469,8 @@ int main(int argc, char **argv) if (!dir) usage(receive_pack_usage); + setup_path(NULL); + if (!enter_repo(dir, 0)) die("'%s': unable to chdir or not a git archive", dir); |