summaryrefslogtreecommitdiff
path: root/init-db.c
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-04-11 15:47:57 -0700
committerLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-04-11 15:47:57 -0700
commit4bb04f2190d526f8917663f0be62d8026e1ed100 (patch)
tree5f7966de3b4b60260db3b510e6efeab94e55f37a /init-db.c
parentFix stale index.lock file removal using "atexit()". (diff)
downloadtgif-4bb04f2190d526f8917663f0be62d8026e1ed100.tar.xz
Rename ".dircache" directory to ".git"
I started out calling the tool "dircache". That's clearly moronic.
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 bbb3ad98e0..503e7193f3 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);
}