Git development
 help / color / mirror / Atom feed
* [BUG] 'git status --ignored' <pathspec> matches partial names
@ 2026-09-14 13:31 Sean Whitton
  2026-09-15 15:54 ` René Scharfe
  2026-09-18 11:04 ` [PATCH] dir: skip excluded directory with nested repo on prefix match René Scharfe
  0 siblings, 2 replies; 6+ messages in thread
From: Sean Whitton @ 2026-09-14 13:31 UTC (permalink / raw)
  To: git; +Cc: 81625, Lester Longley

Steps to reproduce:

git init foo
cd foo
mkdir bar
echo bar/ >.gitignore
git init bar/baz
git init bar/quux
git status --porcelain --ignored --untracked-files -- ba

Expected output:
none, "ba" doesn't match "bar".

Actual output:
!! bar/baz/
!! bar/quux/

Credits to Lester Longley for the reproduction, in Emacs bug#81625.

-- 
Sean Whitton

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-26 10:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-14 13:31 [BUG] 'git status --ignored' <pathspec> matches partial names Sean Whitton
2026-09-15 15:54 ` René Scharfe
2026-09-18 11:04 ` [PATCH] dir: skip excluded directory with nested repo on prefix match René Scharfe
2026-09-22  4:57   ` Junio C Hamano
2026-09-26 10:51     ` René Scharfe
2026-09-26 10:48   ` [PATCH v2] " René Scharfe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox