Hacker News new | ask | show | jobs
by malingo 4873 days ago
That was news to me as well. I've always done the following:

    $ diff -u <(git stash show -p) <(git diff)
1 comments

never again.. by the way, `git diff --no-index` also works like a generic diff utility on any two files.

(Wow, that --no-index behavior seems to be default outside repositories now. I learned something, just git diff works now.)