Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-12 08:17:56 +0300
committerJunio C Hamano <gitster@pobox.com>2010-01-12 12:06:09 +0300
commit356521ab22fb76e17aa8dc9993ff81fade49e11c (patch)
treeb0d8b212d9c268f7bbf825bbe05f753fd0412bb3 /sha1_file.c
parent42b3b0061478f262118036286455a8f09a0d3fff (diff)
sha1_file.c: remove unused function
has_pack_file() is not used anywhere. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_file.c')
-rw-r--r--sha1_file.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sha1_file.c b/sha1_file.c
index 63981fb3fd..7086760dbe 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -2458,14 +2458,6 @@ int has_pack_index(const unsigned char *sha1)
return 1;
}
-int has_pack_file(const unsigned char *sha1)
-{
- struct stat st;
- if (stat(sha1_pack_name(sha1), &st))
- return 0;
- return 1;
-}
-
int has_sha1_pack(const unsigned char *sha1)
{
struct pack_entry e;