projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support for HTTP transfer timeouts based on transfer speed
[git.git]
/
prune-packed.c
diff --git
a/prune-packed.c
b/prune-packed.c
index
73f0f3a
..
1e0fc0c
100644
(file)
--- a/
prune-packed.c
+++ b/
prune-packed.c
@@
-27,7
+27,7
@@
static void prune_dir(int i, DIR *dir, char *pathname, int len)
error("unable to unlink %s", pathname);
}
pathname[len] = 0;
- if (rmdir(pathname))
+ if (
!
rmdir(pathname))
mkdir(pathname, 0777);
}