Using path wildcards in git log
Use a wildcard, no escapes or quotes required:
git log -- */Expression.java
Tested on Windows 7 in cmd shell and git bash.
Depending on your shell, you may need quotes -- if single quotes don't work, try double quotes.
use xargs
:
find . -name 'Expression.java' | xargs git log --oneline -2