From b5a34c33e4f72e62323cc255c34bd9a8bd5ebdb2 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 22 Feb 2023 19:09:49 -0700 Subject: [PATCH] Compare just the commit hash --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 07c6321..a29bc13 100644 --- a/main.go +++ b/main.go @@ -264,7 +264,7 @@ func (x *xinStatus) updateHostInfo() error { s.commit = *commit s.upToDate = false - if s.commit == x.repoCommit { + if s.commit.hash == x.repoCommit.hash { s.upToDate = true } }