From a4581cb233cb84527aafc06761c3d00329240743 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 3 Dec 2012 00:25:08 -0800 Subject: [PATCH] Change the timestamp behavior for history to include items whose timestamp is the same as our birth, to better illustrate the incremental history improvements --- history.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/history.cpp b/history.cpp index 56fb94886..c67402be1 100644 --- a/history.cpp +++ b/history.cpp @@ -368,8 +368,8 @@ static size_t offset_of_next_item_fish_2_0(const char *begin, size_t mmap_length has_timestamp = parse_timestamp(interior_line, ×tamp); } - /* Skip this item if the timestamp is at or after our cutoff. */ - if (has_timestamp && timestamp >= cutoff_timestamp) + /* Skip this item if the timestamp is past our cutoff. */ + if (has_timestamp && timestamp > cutoff_timestamp) { continue; }