So there is this script in my project called tools/install-wamp-router.js
that's broken. The thing is, I know the problem and I know I fixed it before, and I also don't want to fix it again. I'm pretty sure I committed the changes or stashed them and that the file is lost somewhere in my local repo.
I have tons of branches and 36 stashes on my machine. I'd like to find this lost revision of the file. My idea is to search ALL branches and stashes for different versions of the file and output the commit hash and commit message for each hit (as well as in which stash it is maybe).
I got as far as the following command, which only checks branches, and I didn't find what I was looking for.
git log --follow --all -- tools/install-wamp-router.js
Please help!
And yes this is easier than actually fixing the file, it involved a lot of trial and error and making sure it ran on both linux and windows.