Thread (6 messages) 6 messages, 3 authors, 3d ago

[BUG] 'git status --ignored' <pathspec> matches partial names

From: Sean Whitton <hidden>
Date: 2026-09-14 13:31:42

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help