summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-06 23:33:39 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-07 00:02:24 (GMT)
commitbf60144c0ab50e88c0086a90c5cb35b81613ad14 (patch)
tree8ef25a2788d6c225641a3040622b82c364f987b8
parent3d0291c4506f4bfa3869771e580b7304817fec00 (diff)
downloadgit-bf60144c0ab50e88c0086a90c5cb35b81613ad14.zip
git-bf60144c0ab50e88c0086a90c5cb35b81613ad14.tar.gz
git-bf60144c0ab50e88c0086a90c5cb35b81613ad14.tar.bz2
[PATCH] Remove unused sha1_file_directory variable.
Now all the users have gone. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--cache.h1
-rw-r--r--sha1_file.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/cache.h b/cache.h
index a727cb4..1dba405 100644
--- a/cache.h
+++ b/cache.h
@@ -96,7 +96,6 @@ static inline unsigned int create_ce_mode(unsigned int mode)
#define cache_entry_size(len) ((offsetof(struct cache_entry,name) + (len) + 8) & ~7)
-const char *sha1_file_directory;
struct cache_entry **active_cache;
unsigned int active_nr, active_alloc, active_cache_changed;
diff --git a/sha1_file.c b/sha1_file.c
index e6ce455..f1c1c70 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -9,8 +9,6 @@
#include <stdarg.h>
#include "cache.h"
-const char *sha1_file_directory = NULL;
-
#ifndef O_NOATIME
#if defined(__linux__) && (defined(__i386__) || defined(__PPC__))
#define O_NOATIME 01000000