pack-objects: further work on internal rev-list logic.
authorJunio C Hamano <junkio@cox.net>
Wed, 6 Sep 2006 08:42:23 +0000 (01:42 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 7 Sep 2006 09:46:02 +0000 (02:46 -0700)
commit8d1d8f83b5d918c6071b606e321de9c31fed9e68
treeff7f6754f7f4b5a1c3722bbae94f613d00121610
parentb5d97e6b0a044b11b409250189c61d40209065f2
pack-objects: further work on internal rev-list logic.

This teaches the internal rev-list logic to understand options
that are needed for pack handling: --all, --unpacked, and --thin.

It also moves two functions from builtin-rev-list to list-objects
so that the two programs can share more code.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c
builtin-rev-list.c
list-objects.c
list-objects.h