Skip to content

latest-tag-button is showing "+0" and "HEAD isn't tagged" #5446

Closed

Description

@fregante

Please ensure:

  • The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.
  • The bug happens after clearing extension cache. The "Clear cache" button below can also be found at the bottom of the options page.

Example URLs

https://github.com/kas-elvirov/gloc

Extension version

22.2.13

Browser(s) used

Safari 15.3

Description

I'm opening an issue to track #5365 (comment)

Screen Shot 11

HEAD is tagged:

Screen Shot 12

Include in this issue:

  • Screenshots/video/gif demonstrating the bug, if it’s visual
  • Console errors, if any

Activity

  1. fregante commented on Mar 2, 2022

    @fregante
    MemberAuthor

    I think we just need to fix this condition:

    if (currentBranch === latestTag || (currentBranch === defaultBranch && aheadBy === 0)) {

    From currentBranch === defaultBranch to !currentBranch || currentBranch === defaultBranch or something like that

  2. added
    small
    on Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedbugsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions