Skip to content

"Compare" repo link should include the current branch/tag #1197

Closed

Description

@fregante

Issuehunt badges

  1. Visit https://github.com/BrowserSync/browser-sync/tree/client-ts
  2. Open repo tab "More" -> "Compare"
  3. See a plain master -> master comparison: https://github.com/BrowserSync/browser-sync/compare

I'd expect that to include a reference to the current branch/commit/tag, like:

BrowserSync/browser-sync@master...client-ts

Maybe there's a better way, but I'm trying to see what changed between master and whatever branch I'm looking at.

This suggestion is similar to #966, but not just between tags.

The default branch can be determined via fetch, exactly like in #1173 is available via https://github.com/sindresorhus/refined-github/blob/master/source/libs/get-default-branch.js


IssueHunt Summary

jerone jerone has been rewarded.

Sponsors (Total: $40.00)

Tips

Activity

  1. fregante commented on Mar 21, 2018

    @fregante
    MemberAuthor

    There's actually already a Compare link in the branches page, next to each branch: https://github.com/BrowserSync/browser-sync/branches

    This page is one-click away for branches already, but tags don't have that.

  2. gjesse commented on Jun 18, 2018

    @gjesse

    I would love to see this for tags, I frequently want to see "what changed between version x and version y" and it's always painful, particularly since the branch/tag selector dropdown in the compare view doesn't include tags or bring them up via search.

  3. fregante commented on Jun 19, 2018

    @fregante
    MemberAuthor

    That’s #966

  4. sindresorhus commented on Nov 7, 2018

    @sindresorhus
    Member

    Make sure you also send this feature request to GitHub: [email protected]

  5. added
    💵 Funded on Issuehunt
    on May 30, 2019
  6. IssueHuntBot commented on May 30, 2019

    @IssueHuntBot

    @IssueHunt has funded $40.00 to this issue.


  7. jerone commented on May 30, 2019

    @jerone
    Contributor

    I would like to try to tackle this issue.

  8. added 2 commits that reference this issue on May 30, 2019
    66c2de0
    758b0e4
  9. added and removed
    💵 Funded on Issuehunt
    on Jun 5, 2019
  10. IssueHuntBot commented on Jun 5, 2019

    @IssueHuntBot

    @sindresorhus has rewarded $36.00 to @jerone. See it on IssueHunt

    • 💰 Total deposit: $40.00
    • 🎉 Repository reward(0%): $0.00
    • 🔧 Service fee(10%): $4.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions