diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-11 15:47:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-11 15:47:57 -0700 |
commit | 4bb04f2190d526f8917663f0be62d8026e1ed100 (patch) | |
tree | 5f7966de3b4b60260db3b510e6efeab94e55f37a /read-cache.c | |
parent | Fix stale index.lock file removal using "atexit()". (diff) | |
download | tgif-4bb04f2190d526f8917663f0be62d8026e1ed100.tar.xz |
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.c | 2 |
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"); |