Code

Teach git-repack to preserve objects referred to by reflog entries.
authorJunio C Hamano <junkio@cox.net>
Tue, 19 Dec 2006 01:25:28 +0000 (17:25 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 21 Dec 2006 01:22:10 +0000 (17:22 -0800)
commit63049292e083faf80e033eba4fa43efdbac3acad
treedf1f63518f6593934c8961545c90b44d6fe01943
parent55dd55263b6d27aa8daa77bd69f5ea990b66c7a1
Teach git-repack to preserve objects referred to by reflog entries.

This adds a new option --reflog to pack-objects and revision
machinery; do not bother documenting it for now, since this is
only useful for local repacking.

When the option is passed, objects reachable from reflog entries
are marked as interesting while computing the set of objects to
pack.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c
git-repack.sh
revision.c