;bin:hledger-git: run pass-through commands in the right repo
This commit is contained in:
parent
956a2f6565
commit
97f831f741
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user