author | Junio C Hamano <gitster@pobox.com> | |
Sat, 28 Feb 2009 08:00:21 +0000 (00:00 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 28 Feb 2009 09:06:06 +0000 (01:06 -0800) | ||
commit | 03a9683d22eca52bc2b2b9b09258a143e76416f6 | |
tree | 9be24a9a25e8e2702f1e27a35b0504d273ecd445 | tree | snapshot |
parent | 386cb77210cdb09cd808698d21d0e796cd77f26f | commit | diff |
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>
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 | diff | blob | history | |
git-repack.sh | diff | blob | history | |
revision.c | diff | blob | history | |
revision.h | diff | blob | history | |
sha1_file.c | diff | blob | history |