From 9ad50028f82a58c36f304df1aa58c06c962f0f6d Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sat, 15 Feb 2025 13:55:07 +0100 Subject: [PATCH] Fix wrong comment This was backwards; we renamed Sha to Hash, so Sha is now deprecated, not Hash. --- pkg/gui/services/custom_commands/models.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/gui/services/custom_commands/models.go b/pkg/gui/services/custom_commands/models.go index 261bace45..eee52ff5d 100644 --- a/pkg/gui/services/custom_commands/models.go +++ b/pkg/gui/services/custom_commands/models.go @@ -14,8 +14,8 @@ import ( // compatibility. We already did this for Commit.Sha, which was renamed to Hash. type Commit struct { - Hash string // deprecated: use Sha - Sha string + Hash string + Sha string // deprecated: use Hash Name string Status models.CommitStatus Action todo.TodoCommand