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

Stash diff viewer should tell you what function or method you're in

    XMLWordPrintable

Details

    • 4
    • 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

      If I look at a diff with git-diff(1) or git-show(1), each hunk is marked with the containing function signature like so:

      @@ -2886,10 +2824,18 @@ IOReturn AppleKeyStoreUserClient::handleUserClientCommandGated(void* thing1, voi

      + this

      • that

      That’s helpful as it informs the context of the change you’re looking at. But if I view a diff in Stash, it doesn’t give me that information (see attached screenshot). I often end up having to click “show more” until I get to the top of the function the change is in, which is tedious. git clearly knows how to identify the scope enclosing a change, so it’d be great if Stash could show me that information.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              4c762d6af390 Corey Steele
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: