diff --git a/container/src/finance/lib/internal/lib_hledger.bash b/container/src/finance/lib/internal/lib_hledger.bash index d17dd7b..dbce4ab 100644 --- a/container/src/finance/lib/internal/lib_hledger.bash +++ b/container/src/finance/lib/internal/lib_hledger.bash @@ -142,6 +142,10 @@ function lib_hledger::__hledger-import() { lib_hledger::__parse_hledger-import "$@" + # TODO: v0.16.3+: add `--new-files-only` once hledger-flow adds *change* time support. + # Currently, only *modify* time is supported. This is a problem after `git --reset`ing + # or checking out a source file and then re-downloading the source file; as doing this + # will only update the change time (leaving the source file "unmodified"/not imported). time hledger-flow import \ "$(dirname $global_child_profile_journal)" \ --start-year "$global_arg_year"