View diff between branches

Issue #9257 resolved
Tony Southworth
created an issue

It would be good to see the difference between branches, for example between a dev branch and dev server branch. Currently you just see the diff between each branch and the master.

Comments (25)

  1. Erik van Zijst staff

    True. There's a limit to how much we can process within the duration of a web request. In all other cases your shell is your friend:

    $ git merge-tree `git merge-base production staging` production staging
    
  2. Sean Conaty staff

    It has moved to be under the "+" icon in the blue side bar (if you have the new navigation enabled).

    Screen Shot 2017-08-22 at 11.58.13 AM.png

    This is a crutch but you can also just get to it by going to the branches/compare path for your repository like so: https://bitbucket.org/<OWNER>/<REPO>/branches/compare/

  3. Mike Mason

    Putting all of the "get to work" items under the "create" button is like the old Windows joke of having "shut down" in the start menu.

    I feel like there's plenty of room on the side there for a separate button for the "get to work" stuff. It's weird that I had to do a google search to find out where the branch comparison is.

  4. Sean Conaty staff

    Hello,

    A link to compare branches has now been added to places that are hopefully more discoverable.

    • In the ". . ." menu on the branch list page.
    • In the ". . ." button at the top of a branch detail page.
  5. Sean Conaty staff

    I didn't change the behavior of any "Create Pull Request" links but I'm seeing the that option in both the ". . ." menus I mentioned on the branch list page and branch detail page. Could it be you're looking at a branch that has already been merged?

  6. Log in to comment