Improve "show", "visit", and "stash diff" functionality