aboutsummaryrefslogtreecommitdiff
path: root/builtin-pack-objects.c
diff options
context:
space:
mode:
authorBrandon Casey <casey@nrlssc.navy.mil>2009-03-19 22:47:54 -0500
committerJunio C Hamano <gitster@pobox.com>2009-03-20 13:32:33 -0700
commit4d6acb70411cd4fe69610cf1b22f186fa01614f7 (patch)
tree26b206a75519f28d59e1e34e718d74288637c412 /builtin-pack-objects.c
parent79bc4c715516fdb393d107359327c1e7fbb8bf04 (diff)
downloadgit-4d6acb70411cd4fe69610cf1b22f186fa01614f7.tar.gz
git-4d6acb70411cd4fe69610cf1b22f186fa01614f7.tar.xz
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 'builtin-pack-objects.c')
-rw-r--r--builtin-pack-objects.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index aae4d243b..6222f19c7 100644
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
@@ -2149,7 +2149,6 @@ int cmd_pack_objects(int argc, const char **argv, const char *prefix)
continue;
}
if (!strcmp("--unpacked", arg) ||
- !strcmp("--kept-pack-only", arg) ||
!strcmp("--reflog", arg) ||
!strcmp("--all", arg)) {
use_internal_rev_list = 1;