aboutsummaryrefslogtreecommitdiffhomepage
path: root/history.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-12-03 00:25:08 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-12-03 00:25:08 -0800
commita4581cb233cb84527aafc06761c3d00329240743 (patch)
treefa4e45899c97c4612bb4e7655ebd04d7758928dc /history.cpp
parent36dfc9f1bf208abd73e47241646608dfb73dc665 (diff)
Change the timestamp behavior for history to include items whose timestamp is the same as our birth, to better illustrate the incremental history improvements
Diffstat (limited to 'history.cpp')
-rw-r--r--history.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/history.cpp b/history.cpp
index 56fb9488..c67402be 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, &timestamp);
}
- /* 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;
}