Change merge-cache and git-merge-one-file to use the SHA1 of the file
[git.git] / init-db.c
index bbb3ad9..ff2b11a 100644 (file)
--- a/init-db.c
+++ b/init-db.c
@@ -10,8 +10,8 @@ int main(int argc, char **argv)
        char *sha1_dir = getenv(DB_ENVIRONMENT), *path;
        int len, i;
 
-       if (mkdir(".dircache", 0755) < 0) {
-               perror("unable to create .dircache");
+       if (mkdir(".git", 0755) < 0) {
+               perror("unable to create .git directory");
                exit(1);
        }
 
@@ -30,7 +30,7 @@ int main(int argc, char **argv)
        }
 
        /*
-        * The default case is to have a DB per managed directory. 
+        * The default case is to have a DB per managed directory.
         */
        sha1_dir = DEFAULT_DB_ENVIRONMENT;
        fprintf(stderr, "defaulting to private storage area\n");