Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local_working_copy: scan directory entries excluded by auto-track pattern #5604

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

yuja
Copy link
Contributor

@yuja yuja commented Feb 6, 2025

Fixes #5389

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

…tern

Since we need to scan directory entries recursively in order to detect new
untracked paths, it doesn't make sense to reuse the .gitignore code path.

This change means all untracked file paths are listed in "jj status" even if
the whole directory is untracked. It might be a bit verbose, but should be
okay. Directories like node_modules should be excluded by .gitignore, not by
auto-track pattern.

Fixes jj-vcs#5389
@yuja yuja force-pushed the push-mrxwvurmxktn branch from 5ec637d to 6574f12 Compare February 6, 2025 09:05
@yuja yuja added this pull request to the merge queue Feb 6, 2025
Merged via the queue into jj-vcs:main with commit 6574f12 Feb 6, 2025
37 checks passed
@yuja yuja deleted the push-mrxwvurmxktn branch February 6, 2025 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jj st does not show untracked files in directories
2 participants