Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-12146

Meaningful diff-replacement for binary files

    XMLWordPrintable

Details

    • 0
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Hi there,

      classic text-based diffs are not meaningful for binary files.

      Bitbucket only displays a message to that effect.

      But actually, there are alternatives.

      My proposal is to display the output of some common hashing mechanisms (both before and after) for these files.

      My favorite list:

      1. md5 (for conveninence, not security)
      2. sha-2256
      3. (some variant of) visualHostKey (as implemented by ssh)

      Attachments

        Activity

          People

            Unassigned Unassigned
            cba0e9a43b85 Torge Husfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: