3

I’m basically trying to run this command, but in Magit:

git diff master..17 -- "**/*.scala"

… i.e. to view changes in all *.scala files between ref/heads/master and ref/heads/17.

I’ve tried setting =f to this glob, but that doesn’t help.

(Same question applies to git log).

Thank you!

Michal Rus
  • 257
  • 1
  • 6
  • 3
    Using `=f` from the popup is the way to restrict diff and log commands to a file, but wildcards aren't currently supported. Please open a feature request on GitHub. – Kyle Meyer Jun 24 '16 at 13:55
  • @KyleMeyer, thank you! I somehow missed this email. – Michal Rus Aug 11 '16 at 21:50

1 Answers1

1

Starting with v2.8.0 Magit supports globbing in paths passed to diff and log commands. (If you use Melpa, then the respective commit is already included now.)

tarsius
  • 25,298
  • 4
  • 69
  • 109