git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Remove unused sha1_file_directory variable.

From
Junio C Hamano <junkio@cox.net>
Date
May 6, 2005, 23:33 UTC
Message-ID
<7vpsw4aq0c.fsf@assigned-by-dhcp.cox.net>
Now all the users have gone.
Signed-off-by: Junio C Hamano <junkio@cox.net>
---
 cache.h     |    1 -
 sha1_file.c |    3 ---
 2 files changed, 4 deletions(-)
--- a/cache.h
+++ b/cache.h
@@ -96,7 +96,6 @@ static inline unsigned int create_ce_mod
 
 #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;
 
--- 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
----------------------------------------------------------------
Message 1 of 1 in “Remove unused sha1_file_directory variable.”
  1. Remove unused sha1_file_directory variable.Junio C Hamano, May 6, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.