mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
[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>
This commit is contained in:
parent
3d0291c450
commit
bf60144c0a
1
cache.h
1
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)
|
#define cache_entry_size(len) ((offsetof(struct cache_entry,name) + (len) + 8) & ~7)
|
||||||
|
|
||||||
const char *sha1_file_directory;
|
|
||||||
struct cache_entry **active_cache;
|
struct cache_entry **active_cache;
|
||||||
unsigned int active_nr, active_alloc, active_cache_changed;
|
unsigned int active_nr, active_alloc, active_cache_changed;
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include "cache.h"
|
#include "cache.h"
|
||||||
|
|
||||||
const char *sha1_file_directory = NULL;
|
|
||||||
|
|
||||||
#ifndef O_NOATIME
|
#ifndef O_NOATIME
|
||||||
#if defined(__linux__) && (defined(__i386__) || defined(__PPC__))
|
#if defined(__linux__) && (defined(__i386__) || defined(__PPC__))
|
||||||
#define O_NOATIME 01000000
|
#define O_NOATIME 01000000
|
||||||
|
|
Loading…
Reference in a new issue