author | Junio C Hamano <junkio@cox.net> | |
Fri, 22 Dec 2006 08:46:33 +0000 (00:46 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 22 Dec 2006 08:46:33 +0000 (00:46 -0800) | ||
commit | 8d8b9f6252271899708b32fbce4cd2541af9545a | |
tree | 003a47bd55cc900624402cee450d0922a446aec4 | tree | snapshot |
parent | 71b03b42c637d884295b48d4f5d830a5f5f3578b | commit | diff |
reflog expire: prune commits that are not incomplete
Older fsck-objects and prune did not protect commits in reflog
entries, and it is quite possible that a commit still exists in
the repository (because it was in a pack, or something) while
some of its trees and blobs are long gone. Make sure the commit
and its associated tree is complete and expire incomplete ones.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Older fsck-objects and prune did not protect commits in reflog
entries, and it is quite possible that a commit still exists in
the repository (because it was in a pack, or something) while
some of its trees and blobs are long gone. Make sure the commit
and its associated tree is complete and expire incomplete ones.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-reflog.c | diff | blob | history |