Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add support for pushing to a remote repository using HTTP/DAV
[gitweb.git]
/
fsck-objects.c
diff --git
a/fsck-objects.c
b/fsck-objects.c
index 65cec7d12b6fecc95e842069d2afa1e87bceebc1..17d05363e08b48275cb38631e82f0f48321fa728 100644
(file)
--- a/
fsck-objects.c
+++ b/
fsck-objects.c
@@
-329,9
+329,8
@@
static int fsck_dir(int i, char *path)
DIR *dir = opendir(path);
struct dirent *de;
- if (!dir) {
- return error("missing sha1 directory '%s'", path);
- }
+ if (!dir)
+ return 0;
while ((de = readdir(dir)) != NULL) {
char name[100];