Pull requests with side-by-side diffs

By on December 8, 2011

Bitbucket now has the option to view file changes—IDE-style—with side-by-side diffs:

Side by side diff 2012

With both versions of the file shown in full with synchronized scrolling, you can more quickly grok what has changed, making code review easier in:

Show me more: expandable context

Unified diffs are great for reviewing small changes, but lines hidden beyond the 3 lines of context can leave out important information. We’ve updated unified diffs with clickable skipped sections to expand the context in the diff, instantly.

Expand diff

Using side-by-side diff

Side by side button 2012

Want to switch from unified mode to side-by-side mode? Simply click on any side-by-side button.

Try Side by side diff 2012

  • Gordon Schulz

    Very nice, well implemented from what I could test so far. Appreciate the ongoing work.

  • av

    this is awesome and useful!

    Thanks

  • Niko

    this is great tool with awesome features!

    but, please improve your wysiwym editor and markdown parser :)

  • Cassie

    Hi I am new to the Bitbucket. I am just practicing  the tutorial exercise. However, I can not see the side-by-side button. Anyone has any idea ?

  • Anonymous

    This is a cool feature, please allow to put comments in side-by-side view as well!

  • sundy

     welcome to our website, we will provide the high quality product, still at etc. What, to pick their own one.Authentic football jerseys for all the fans expectations. However, these authentic jerseys are manufactured from high quality nike nfl jerseys, and contains many changes in design, in fact, be too expensive to buy an ordinary fan shirt does not pay. Compromise, repetitive cheap Authentic NFL Jerseys,  You really can. Professional football jersey, non-Hodgkin’s lymphoma, NBA, and replica nfl jerseys, football jerseys, excellent quality and competitive prices! Saved many forms.http://www.nikenfljersey-s.com/