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

XMLWordPrintable

    • 7
    • 2

      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.

            Assignee:
            Unassigned
            Reporter:
            Corey Steele
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: