fix: let git handle commit message formatting directly

This commit is contained in:
2026-08-01 17:05:04 -04:00
parent 348cd9bf06
commit 3b936e3435
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ dotstate_update() {
local old_sha
old_sha=$(git rev-parse HEAD)
git fetch origin &>/dev/null && git reset --hard origin/master &>/dev/null && git clean -fd &>/dev/null
printf "\033[1;34m%s\033[0m\n" "$(git log --format='%C(yellow)%h%C(reset) %C(cyan)%ar%C(reset) %s' "$old_sha"..HEAD)"
git log --format='%C(yellow)%h%C(reset) %C(cyan)%ar%C(reset) %s' "$old_sha"..HEAD
cd ~
dotstate activate &>/dev/null
exec zsh