From 97f831f741ed1d43ffd9d9a6d65420c1e5ded324 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 27 Feb 2025 17:10:44 -1000 Subject: [PATCH] ;bin:hledger-git: run pass-through commands in the right repo --- bin/hledger-git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hledger-git b/bin/hledger-git index 42be97620..99c82b520 100755 --- a/bin/hledger-git +++ b/bin/hledger-git @@ -112,5 +112,5 @@ if [[ "$1" == "-h" || "$1" == "--help" || $# == 0 ]]; then usage elif declare -f "$1" > /dev/null; then "$@" else ensure_git - $GIT "$@" + $GIT -C "$DIR" "$@" fi