diff options
author | pikomonde <32364823+pikomonde@users.noreply.github.com> | 2024-03-20 03:05:19 +0700 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2024-04-12 08:31:40 +0200 |
commit | 7f6eea2a55ee6e17660c893a9322d743c5016caf (patch) | |
tree | 31a410dd5035bf43d43c886dc46d493a98db4791 /pkg/gui/presentation | |
parent | 06624e85d6b0b05d6c18b05292b3e15295d47a2c (diff) |
standardize 'Commit Sha' to 'Commit Hash'
Diffstat (limited to 'pkg/gui/presentation')
-rw-r--r-- | pkg/gui/presentation/commits.go | 2 | ||||
-rw-r--r-- | pkg/gui/presentation/graph/graph.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/presentation/commits.go b/pkg/gui/presentation/commits.go index c5d5e92e8..58f465196 100644 --- a/pkg/gui/presentation/commits.go +++ b/pkg/gui/presentation/commits.go @@ -200,7 +200,7 @@ func indexOfFirstNonTODOCommit(commits []*models.Commit) int { } func loadPipesets(commits []*models.Commit) [][]*graph.Pipe { - // given that our cache key is a commit sha and a commit count, it's very important that we don't actually try to render pipes + // given that our cache key is a commit hash and a commit count, it's very important that we don't actually try to render pipes // when dealing with things like filtered commits. cacheKey := pipeSetCacheKey{ commitSha: commits[0].Sha, diff --git a/pkg/gui/presentation/graph/graph.go b/pkg/gui/presentation/graph/graph.go index f6ecf6f0c..51a55acea 100644 --- a/pkg/gui/presentation/graph/graph.go +++ b/pkg/gui/presentation/graph/graph.go @@ -385,7 +385,7 @@ func renderPipeSet( } func equalHashes(a, b string) bool { - // if our selectedCommitSha is an empty string we treat that as meaning there is no selected commit sha + // if our selectedCommitSha is an empty string we treat that as meaning there is no selected commit hash if a == "" || b == "" { return false } |