Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fix testsuite to tolerate spaces in path
[gitweb.git]
/
prune-packed.c
diff --git
a/prune-packed.c
b/prune-packed.c
index 1e0fc0cd9e9694c0bad54e26367097cc499bf3d2..16685d1d8b25358f8df45a92262b4b0f6ea9cef5 100644
(file)
--- a/
prune-packed.c
+++ b/
prune-packed.c
@@
-27,8
+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))
- mkdir(pathname, 0777);
+ rmdir(pathname);
}
static void prune_packed_objects(void)