summaryrefslogtreecommitdiff
path: root/init-db.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-11 22:47:57 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-11 22:47:57 (GMT)
commit4bb04f2190d526f8917663f0be62d8026e1ed100 (patch)
tree5f7966de3b4b60260db3b510e6efeab94e55f37a /init-db.c
parent9614b8dcf8f295b6063d2a85bf8ec53960b072b6 (diff)
downloadgit-4bb04f2190d526f8917663f0be62d8026e1ed100.zip
git-4bb04f2190d526f8917663f0be62d8026e1ed100.tar.gz
git-4bb04f2190d526f8917663f0be62d8026e1ed100.tar.bz2
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 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);
}