From 7a79ec948cf4db5972829103af9b7a9f6922414c Mon Sep 17 00:00:00 2001 From: Ayo Date: Mon, 22 Sep 2025 10:36:19 +0200 Subject: [PATCH] feat(git): if args is empty, set to dot "." --- git.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/git.sh b/git.sh index 67f2bed..9f4609e 100755 --- a/git.sh +++ b/git.sh @@ -11,8 +11,10 @@ month_dir=$(date +"%m %b") git reset HEAD -- . other_args="${@:2}" -echo $@ -echo "args $other_args" + +if [ "$other_args" = "" ]; then + other_args="." +fi gitStatus() { {