mirror of
https://github.com/fiatjaf/nak.git
synced 2026-01-24 19:38:52 +00:00
git status: fix commit printing.
This commit is contained in:
2
git.go
2
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])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user