Monorepo for Tangled tangled.org

appview/repo: fix non-annotated tags not showing up in commit log #681

merged opened by oppi.li targeting master from push-zzymyvuolvtx
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:qfpnj4og54vl56wngdriaxug/sh.tangled.repo.pull/3m3eshxqbms22
+5 -1
Diff #0
+5 -1
appview/repo/repo.go
··· 192 192 var tagResp types.RepoTagsResponse 193 193 if err := json.Unmarshal(tagBytes, &tagResp); err == nil { 194 194 for _, tag := range tagResp.Tags { 195 - tagMap[tag.Hash] = append(tagMap[tag.Hash], tag.Name) 195 + hash := tag.Hash 196 + if tag.Tag != nil { 197 + hash = tag.Tag.Target.String() 198 + } 199 + tagMap[hash] = append(tagMap[hash], tag.Name) 196 200 } 197 201 } 198 202 }

History

1 round 0 comments
sign up or login to add to the discussion
oppi.li submitted #0
1 commit
expand
appview/repo: fix non-annotated tags not showing up in commit log
expand 0 comments
pull request successfully merged