From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: Joanna Wang <jojwang@google.com>, git@vger.kernel.org
Subject: Re: Bug: magic-less pathspecs that start with ":" not processed as expected.
Date: Tue, 07 Nov 2023 08:29:34 +0900 [thread overview]
Message-ID: <xmqqfs1icvfl.fsf@gitster.g> (raw)
In-Reply-To: <20231106173133.GC10414@coredump.intra.peff.net> (Jeff King's message of "Mon, 6 Nov 2023 12:31:33 -0500")
Jeff King <peff@peff.net> writes:
> PS It took me a while to figure out where we document pathspec syntax. I
> wonder if a "gitpathspecs" manpage would make sense, like we have
> "gitrevisions".
Yeah, I came to the same conclusion (should have saved time by
scanning the mailing list before I started writing my response) and
wondered where we wrote it down. The description you found in the
glossary, as far as I recall, is the authoritative one and looks
readable, but I agree it is not as discoverable as it should be.
A simpler and more readable workaround than ":::file" is "./:file"
by the way ;-)
next prev parent reply other threads:[~2023-11-06 23:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-06 15:54 Bug: magic-less pathspecs that start with ":" not processed as expected Joanna Wang
2023-11-06 17:31 ` Jeff King
2023-11-06 23:29 ` Junio C Hamano [this message]
2023-11-07 3:25 ` Jeff King
2023-11-06 23:25 ` Junio C Hamano
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=xmqqfs1icvfl.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=jojwang@google.com \
--cc=peff@peff.net \
/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).