summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-11 15:47:57 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-11 15:47:57 -0700
commit4bb04f2190d526f8917663f0be62d8026e1ed100 (patch)
tree5f7966de3b4b60260db3b510e6efeab94e55f37a /read-cache.c
parent9614b8dcf8f295b6063d2a85bf8ec53960b072b6 (diff)
downloadgit-4bb04f2190d526f8917663f0be62d8026e1ed100.tar.gz
Rename ".dircache" directory to ".git"
I started out calling the tool "dircache". That's clearly moronic.
Diffstat (limited to 'read-cache.c')
-rw-r--r--read-cache.c2
1 files changed, 1 insertions, 1 deletions
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");