git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] pathspec: rename per-item field has_wildcard to use_wildcard

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 8, 2011, 19:40 UTC
Message-ID
<7v62qo4jmp.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4D9EC75F.1060901@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
> Maybe we can make the ":" literal
> when it can't be parsed, or make it do something (":/" as you
> suggested), because swallowing it and then doing nothing seems doubly bad.

Another possible tweak would be to make ":" without even any "pattern" after it to become a no-element, in order to allow the same difference between "git log" and "git log ." to be expressed from within a subdirectory.

The difference matters when you have commits created with --allow-empty that are discarded by path based history simplification.

Previous: Michael J GruberNext: Nguyen Thai Ngoc Duy
Message 10 of 11 in “pathspec: rename per-item field has_wildcard to use_wildcard”
  1. pathspec: rename per-item field has_wildcard to use_wildcardJunio C Hamano, Apr 5, 2011
  2. Nguyen Thai Ngoc DuyApr 6, 2011
  3. Junio C HamanoApr 6, 2011
  4. Junio C HamanoApr 6, 2011
  5. Michael J GruberApr 7, 2011
  6. Nguyen Thai Ngoc DuyApr 7, 2011
  7. Junio C HamanoApr 7, 2011
  8. Junio C HamanoApr 7, 2011
  9. Michael J GruberApr 8, 2011
  10. Junio C HamanoApr 8, 2011
  11. Nguyen Thai Ngoc DuyApr 7, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.