Code

reflog --fix-stale: do not check the same trees and commits repeatedly.
authorJunio C Hamano <junkio@cox.net>
Sun, 7 Jan 2007 06:32:41 +0000 (22:32 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 7 Jan 2007 06:57:34 +0000 (22:57 -0800)
commitcd1f9c36beeafd3dea4672494a98e1ed39ae63f1
tree7b37e6126bbc0904a17141d2fc2b7314c13b40d6
parent1389d9ddaa68a4cbf5018d88f971b9bbb7aaa3c9
reflog --fix-stale: do not check the same trees and commits repeatedly.

Since we use the reachability tracking machinery now, we should
keep the already checked trees and commits whose completeness is
known, to avoid checking the same thing over and over again.

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