Permalink
Browse files

BUG: Option -x isn't propagated to custom actions.

Somehow, no default is set for TODOTXT_DISABLE_FILTER, so that it isn't exported, and therefore does not apply to the sourced actions, so you cannot disable filtering for "myaction" via todo.sh -x myaction.
  • Loading branch information...
1 parent 72fe73f commit 62d3ff29775b3df1c33ff726ba4438b1b4f90364 @inkarkat inkarkat committed Sep 30, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 todo.sh
View
1 todo.sh
@@ -474,6 +474,7 @@ TODOTXT_AUTO_ARCHIVE=${TODOTXT_AUTO_ARCHIVE:-1}
TODOTXT_DATE_ON_ADD=${TODOTXT_DATE_ON_ADD:-0}
TODOTXT_DEFAULT_ACTION=${TODOTXT_DEFAULT_ACTION:-}
TODOTXT_SORT_COMMAND=${TODOTXT_SORT_COMMAND:-env LC_COLLATE=C sort -f -k2}
+TODOTXT_DISABLE_FILTER=${TODOTXT_DISABLE_FILTER:-}
TODOTXT_FINAL_FILTER=${TODOTXT_FINAL_FILTER:-cat}
# Export all TODOTXT_* variables

0 comments on commit 62d3ff2

Please sign in to comment.