From 1b1ac6dcc0f8de302781c8ebcc57eb9235238f62 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 29 Oct 2017 22:48:33 +0100 Subject: propagate X down, too --- notyet | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/notyet b/notyet index 925722d..5d1633a 100755 --- a/notyet +++ b/notyet @@ -58,11 +58,7 @@ class Entry < Struct.new(:depth, :state, :desc, :file, :line, :children) self.state = "?" end - if state == "x" - force("x") - elsif state == "?" - force("?") - end + force(state) if "?xX".index(state) if desc =~ /^(?:\(.*?\)\s*)?(\d\d\d\d-\d\d-\d\d)/ diff = "%+d" % (Date.parse($1) - TODAY) -- cgit 1.4.1