Description
I had a file in .gitignore. jj file track --include-ignored didn't track the file.
I then removed the pattern from .gitignore. Running git status shows the file as untracked, but jj still doesn't track it automatically or manually after running jj file track.
@bryceberger asked whether I was using watchman and commented they had issues with it not picking up new files if they were originally on the ignore list.
I disabled watchman and the file started showing.
Steps to Reproduce the Problem
- Enable watchman
- Add file to
.gitignore
- Run
jj file track --include-ignored file
- Remove file from .gitignore
- Run
jj status or jj file track file
Expected Behavior
- File is tracked automatically when removed from
.gitignore
- File is tracked even if it's in
.gitignore after running jj file track --include-ignored file
Actual Behavior
File is not tracked
Specifications
- Platform: macos 26.1
- Version: jj 0.36.0
- Watchman: 2025.12.22.00
Description
I had a file in
.gitignore.jj file track --include-ignoreddidn't track the file.I then removed the pattern from .gitignore. Running
git statusshows the file as untracked, but jj still doesn't track it automatically or manually after runningjj file track.@bryceberger asked whether I was using watchman and commented they had issues with it not picking up new files if they were originally on the ignore list.
I disabled watchman and the file started showing.
Steps to Reproduce the Problem
.gitignorejj file track --include-ignored filejj statusorjj file track fileExpected Behavior
.gitignore.gitignoreafter runningjj file track --include-ignored fileActual Behavior
File is not tracked
Specifications