]> git.ipfire.org Git - thirdparty/git.git/commit - revision.c
Simplify is_kept_pack()
authorJunio C Hamano <gitster@pobox.com>
Sat, 28 Feb 2009 08:00:21 +0000 (00:00 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Feb 2009 09:06:06 +0000 (01:06 -0800)
commit03a9683d22eca52bc2b2b9b09258a143e76416f6
tree9be24a9a25e8e2702f1e27a35b0504d273ecd445
parent386cb77210cdb09cd808698d21d0e796cd77f26f
Simplify is_kept_pack()

This removes --unpacked=<packfile> parameter from the revision parser, and
rewrites its use in git-repack to pass a single --kept-pack-only option
instead.

The new --kept-pack-only option means just that.  When this option is
given, is_kept_pack() that used to say "not on the --unpacked=<packfile>
list" now says "the packfile has corresponding .keep file".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c
git-repack.sh
revision.c
revision.h
sha1_file.c