summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorBrandon Casey <casey@nrlssc.navy.mil>2009-03-20 03:47:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-03-20 20:32:33 (GMT)
commit4d6acb70411cd4fe69610cf1b22f186fa01614f7 (patch)
tree26b206a75519f28d59e1e34e718d74288637c412 /cache.h
parent79bc4c715516fdb393d107359327c1e7fbb8bf04 (diff)
downloadgit-4d6acb70411cd4fe69610cf1b22f186fa01614f7.zip
git-4d6acb70411cd4fe69610cf1b22f186fa01614f7.tar.gz
git-4d6acb70411cd4fe69610cf1b22f186fa01614f7.tar.bz2
Remove --kept-pack-only option and associated infrastructure
This option to pack-objects/rev-list was created to improve the -A and -a options of repack. It was found to be lacking in that it did not provide the ability to differentiate between local and non-local kept packs, and found to be unnecessary since objects residing in local kept packs can be filtered out by the --honor-pack-keep option. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 0a3d523..23c16d0 100644
--- a/cache.h
+++ b/cache.h
@@ -566,7 +566,6 @@ extern int check_sha1_signature(const unsigned char *sha1, void *buf, unsigned l
extern int move_temp_to_file(const char *tmpfile, const char *filename);
extern int has_sha1_pack(const unsigned char *sha1);
-extern int has_sha1_kept_pack(const unsigned char *sha1);
extern int has_sha1_file(const unsigned char *sha1);
extern int has_loose_object_nonlocal(const unsigned char *sha1);