From bb5fc3888517047ad8e827df283939e763bddf76 Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Mon, 16 Mar 2026 11:13:07 -0700 Subject: [PATCH] container: lib_hledger: add TODO re: hledger-flow v0.16.3+ --- container/src/finance/lib/internal/lib_hledger.bash | 4 ++++ 1 file changed, 4 insertions(+) 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"