git status: fix commit printing.

This commit is contained in:
fiatjaf
2026-01-21 14:36:25 -03:00
parent 9160c68cb5
commit 7d782737c4

2
git.go
View File

@@ -850,7 +850,7 @@ aside from those, there is also:
if commit == stateHEAD { if commit == stateHEAD {
row[2] = color.GreenString("repository synced with state") row[2] = color.GreenString("repository synced with state")
} else { } else {
row[2] = color.YellowString("mismatched HEAD state=%s, pushed=%s", state.HEAD, commit) row[2] = color.YellowString("mismatched HEAD state=%s, pushed=%s", stateHEAD[0:5], commit[0:5])
} }
} }
} }