Subject: RE: [BUG] ** glob pattern in git diff doesn't match root directory

From: Felipe Contreras <[email-masked]>
Date: Fri, 23 Apr 2021 22:31:53 -0500

Shoaib Meenai wrote:
> Am I misunderstanding how `**` should work, or is this a bug?

I would say this is a bug, but I'm not familiar with pathspecs.

I stumbled upoon a very similar issue (I wanted to find all the *.jpg in
the repository). I couldn't find another way to do it but:

  git diff ':(glob)**/foo'

Cheers.

-- 
Felipe Contreras