From 7c31ddfba2dc76cee519c3cc453b25def9f8c4ab Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 22 Oct 2024 07:47:59 -1000 Subject: [PATCH] ;tools: note gtree issue --- tools/gtree | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/gtree b/tools/gtree index 0c79471d4..5d29b0dd3 100755 --- a/tools/gtree +++ b/tools/gtree @@ -63,6 +63,7 @@ if [[ $HELP = 1 ]]; then usage; exit; fi REGEX="${ARGS[0]:-.}" ROOT=$(pwd) GITLS="git ls-files ${U:+-o $(if [[ $I = 1 ]]; then echo ''; else echo '--exclude-standard'; fi)}" +# XXX the hledger accounts trick doesn't work for paths with double spaces in them $GITLS \ | grep -iE "$REGEX" \ | sed -e 's%/%/:%g' -e "s%^%account $ROOT/:%" \