Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-15863

Include rename/move information if diffs served by API

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      The current bitbucket diff APIs do not handle move/renames in a smart manner. If I run git diff on the command line I get information as far as a file being renamed and similarity score. Bitbucket APIs return two separate diffs, an add and a delete, even if the contents are unchanged. In addition, this functionality seems to already be available for the actual bitbucket UI (eg: https://blog.bitbucket.org/2016/04/14/updated-diff-view-for-moved-or-renamed-files/), but not to the API. This makes it difficult for an integrating application to get an idea of the diff that an end-user is seeing without doing all of the diffing logic themselves.

      Attachments

        Activity

          People

            Unassigned Unassigned
            1c07da2aa455 Tyler Mann
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: