mirror of
https://github.com/fiatjaf/nak.git
synced 2026-01-24 11:28:50 +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 {
|
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])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user