]> asedeno.scripts.mit.edu Git - git.git/blobdiff - daemon.c
git-http-fetch: Remove size limit for objects/info/{packs,alternates}
[git.git] / daemon.c
index f285a8c98ca9fbfc421b735f76f9d9f2248bd749..11fa3ed11f1468d391ae24953ae2a378e75eb74a 100644 (file)
--- a/daemon.c
+++ b/daemon.c
@@ -142,7 +142,7 @@ static int upload(char *dir, int dirlen)
         * is ok with us doing this.
         */
        if ((!export_all_trees && access("git-daemon-export-ok", F_OK)) ||
-           access("objects/00", X_OK) ||
+           access("objects/", X_OK) ||
            access("HEAD", R_OK)) {
                logerror("Not a valid git-daemon-enabled repository: '%s'", dir);
                return -1;