Reputation: 28382
I'm diffing 2 branches with git diff master..branch2
and diff shows me html, css, php files, etc. I'd like to only view php files here, but git diff master..branch2 -- '*.php'
returns nothing. How do I actually filter it?
Upvotes: 3
Views: 763
Reputation: 28382
Yeah this was an issue with the version of git - Centos 6.5 has 1.7.1 in current yum. I've updated it to 1.9.4 manually and it all worked!
Upvotes: 3