From: Nicolas Boisselier Date: Fri, 31 Jul 2026 21:08:14 +0000 (+0200) Subject: etc/profile.d/git.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;ds=sidebyside;p=nb.git etc/profile.d/git.sh --- diff --git a/etc/profile.d/git.sh b/etc/profile.d/git.sh index 4e7bc46d..91a881ab 100644 --- a/etc/profile.d/git.sh +++ b/etc/profile.d/git.sh @@ -160,7 +160,7 @@ git_cache_rm() { git_commit_push() { local msg="$*" - [ -z "$msg" ] && msg="$(git status -s)" + [ -z "$msg" ] && msg="$(git status --porcelain)" git commit -a -m "$msg" && git push }