From 4bb04f2190d526f8917663f0be62d8026e1ed100 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 11 Apr 2005 15:47:57 -0700 Subject: Rename ".dircache" directory to ".git" I started out calling the tool "dircache". That's clearly moronic. --- read-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'read-cache.c') diff --git a/read-cache.c b/read-cache.c index 3c575f7d1c..5453694464 100644 --- a/read-cache.c +++ b/read-cache.c @@ -364,7 +364,7 @@ int read_cache(void) sha1_file_directory = DEFAULT_DB_ENVIRONMENT; if (access(sha1_file_directory, X_OK) < 0) return error("no access to SHA1 file directory"); - fd = open(".dircache/index", O_RDONLY); + fd = open(".git/index", O_RDONLY); if (fd < 0) return (errno == ENOENT) ? 0 : error("open failed"); -- cgit v1.3