Thomas Gummerer <t.gummerer@xxxxxxxxx> writes: > no_changes () { > git diff-index --quiet --cached HEAD --ignore-submodules -- "$@" && > git diff-files --quiet --ignore-submodules -- "$@" && > - (test -z "$untracked" || test -z "$(untracked_files)") > + (test -z "$untracked" || test -z "$(untracked_files $@)") Don't you need a pair of double-quotes around that $@?