Embarassing thinko. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@xxxxxx> --- reflog-walk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/reflog-walk.c b/reflog-walk.c index d4b49c7..d58ff9b 100644 --- a/reflog-walk.c +++ b/reflog-walk.c @@ -70,7 +70,7 @@ static int get_reflog_recno_by_time(struct complete_reflogs *array, unsigned long timestamp) { int i; - for (i = array->nr - 1; i >= 0; i++) + for (i = array->nr - 1; i >= 0; i--) if (timestamp >= array->items[i].timestamp) return i; return -1; -- 1.5.0.rc1.gd85c - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html