From: Felipe Contreras Date: Sat, 24 Apr 2021 03:31:53 GMT Subject: RE: [BUG] ** glob pattern in git diff doesn't match root directory Message-ID: <608391297345f_10cb920875@natae.notmuch> In-Reply-To: <79834D18-EAF4-4748-9B96-38AAA0760499@fb.com> 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