From 9380de428c4e71782e923ca3a5ba8d00c263e861 Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Fri, 6 Mar 2009 15:29:40 +0100 Subject: [PATCH] undo: use MAX_TID for tid_max, or else HAMMER won't find the latest change We should anyways use HAMMER_MAX_TID. This also works around the bug in . --- usr.bin/undo/undo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/undo/undo.c b/usr.bin/undo/undo.c index ec3e314067..58f1658885 100644 --- a/usr.bin/undo/undo.c +++ b/usr.bin/undo/undo.c @@ -240,7 +240,7 @@ doiterate(const char *filename, const char *outFileName, RB_INIT(&dir_tree); RB_INIT(&tse_tree); - tid_max.tid = HAMMER_MAX_TID - 1; + tid_max.tid = HAMMER_MAX_TID; tid_max.time32 = 0; /* -- 2.11.4.GIT