You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On branch main
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
.gitignore
foo/
nothing added to commit but untracked files present (use "git add" to track)
And running git ls-files --others --exclude-standard gives:
.gitignore
foo/build/file.py
The text was updated successfully, but these errors were encountered:
It appears that pathspec is not handling exclusions correctly for directories without a trailing slash:
If you try doing the same with .gitignore, it works correctly:
Running
git status
gives:And running
git ls-files --others --exclude-standard
gives:The text was updated successfully, but these errors were encountered: