Compare just the commit hash

This commit is contained in:
Aaron Bieber 2023-02-22 19:09:49 -07:00
parent 52da2c5bb1
commit b5a34c33e4
No known key found for this signature in database

View File

@ -264,7 +264,7 @@ func (x *xinStatus) updateHostInfo() error {
s.commit = *commit s.commit = *commit
s.upToDate = false s.upToDate = false
if s.commit == x.repoCommit { if s.commit.hash == x.repoCommit.hash {
s.upToDate = true s.upToDate = true
} }
} }