From: Felipe Contreras <felipe.contreras@gmail.com>
To: Shoaib Meenai <smeenai@fb.com>,
"git@vger.kernel.org" <git@vger.kernel.org>
Subject: RE: [BUG] ** glob pattern in git diff doesn't match root directory
Date: Fri, 23 Apr 2021 22:31:53 -0500 [thread overview]
Message-ID: <608391297345f_10cb920875@natae.notmuch> (raw)
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
next prev parent reply other threads:[~2021-04-24 3:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-24 2:52 [BUG] ** glob pattern in git diff doesn't match root directory Shoaib Meenai
2021-04-24 3:31 ` Felipe Contreras [this message]
2021-04-26 8:23 ` =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason
2021-04-27 19:58 ` Felipe Contreras
2021-04-26 20:45 ` Shoaib Meenai
2021-04-26 8:23 ` =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason
2021-04-26 20:48 ` Shoaib Meenai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=608391297345f_10cb920875@natae.notmuch \
--to=felipe.contreras@gmail.com \
--cc=git@vger.kernel.org \
--cc=smeenai@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).