Protect commits recorded in reflog from pruning.
authorJunio C Hamano <junkio@cox.net>
Mon, 18 Dec 2006 09:36:16 +0000 (01:36 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 21 Dec 2006 01:22:10 +0000 (17:22 -0800)
commit55dd55263b6d27aa8daa77bd69f5ea990b66c7a1
tree31bb7894f535d14cbb4a55a2bb4a53bbef7537fc
parent2ff81662c2fb2679f841c09a28bd80c0a63011ac
Protect commits recorded in reflog from pruning.

This teaches fsck-objects and prune to protect objects referred
to by reflog entries.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-prune.c
fsck-objects.c