From 7d782737c4f2bcc2ab6d84446df9a465daefaa8d Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 21 Jan 2026 14:36:25 -0300 Subject: [PATCH] git status: fix commit printing. --- git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git.go b/git.go index 2fba856..1dc7990 100644 --- a/git.go +++ b/git.go @@ -850,7 +850,7 @@ aside from those, there is also: if commit == stateHEAD { row[2] = color.GreenString("repository synced with state") } 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]) } } }