This commit is contained in:
pika 2025-07-03 16:26:04 +02:00
parent ac22bdb067
commit 91150f5633

View file

@ -509,8 +509,8 @@ __git__() {
# *)
if [[ -n "$1" ]]; then
for f in "$@"; do
if [ -f "./$f" ] || [ -d "./${f}" ]; then
commit_files+=("${f}")
if [ -f "./${f}" ] || [ -d "./${f}/" ]; then
commit_files+=("./${f}")
else
commit_message+="${f}"
break