summaryrefslogtreecommitdiff
path: root/init-db.c
diff options
context:
space:
mode:
Diffstat (limited to 'init-db.c')
-rw-r--r--init-db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init-db.c b/init-db.c
index bbb3ad9..503e719 100644
--- 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);
}