sha1_file: make check_and_freshen_file() non static
This function will be used in a commit soon, so let's make it available globally. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
e77cf4ee65
commit
6a5e6f5e44
3
cache.h
3
cache.h
@ -1170,6 +1170,9 @@ extern int has_pack_index(const unsigned char *sha1);
|
||||
|
||||
extern void assert_sha1_type(const unsigned char *sha1, enum object_type expect);
|
||||
|
||||
/* Helper to check and "touch" a file */
|
||||
extern int check_and_freshen_file(const char *fn, int freshen);
|
||||
|
||||
extern const signed char hexval_table[256];
|
||||
static inline unsigned int hexval(unsigned char c)
|
||||
{
|
||||
|
Reference in New Issue
Block a user