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
I've been playing with jj again after noticing the new snapshot.auto-track setting, and found interacting with new files annoying overall.
This is a bit dump-all, I've browsed through the issues for a couple of hours (obviously great use of my $work time!) and this is half feedback and half questions, so making it a discussion instead of an issue.
Happy to open sub-issues as FR later if some points are worth tracking :)
if using auto-track none(), typing jj file track foo everytime is a mouthful - perhaps an alias like jj add might make sense by default? (I've added an alias for now, but it has no completion, so that's also annoying on its own..)
without auto-track none, creating a file, making it be tracked with jj st, then adding it to .gitignore doesn't automatically untrack it without jj file untrack -- this is obviously a feature (and documented in docs/git-compatibility.md), because if you want to explicitly track an ignored file jj can't go around automatically remove it back the next command, but I feel that UX-wise we should figure out if the file was added explicitly and keep it or automatically tracked and drop it at this point.
This confused me quite a bit of time, especially as jj st in a colocated repo will also add the file to the index (or wherever it is git finds it) and further git status will still list the file in "Changes not staged for commit" as well
There doesn't seem to be anything like jj file list --ignored ? (akin to git status --ignored)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've been playing with jj again after noticing the new
snapshot.auto-track
setting, and found interacting with new files annoying overall.This is a bit dump-all, I've browsed through the issues for a couple of hours (obviously great use of my $work time!) and this is half feedback and half questions, so making it a discussion instead of an issue.
Happy to open sub-issues as FR later if some points are worth tracking :)
jj file track foo
everytime is a mouthful - perhaps an alias likejj add
might make sense by default? (I've added an alias for now, but it has no completion, so that's also annoying on its own..)jj st
, then adding it to.gitignore
doesn't automatically untrack it withoutjj file untrack
-- this is obviously a feature (and documented in docs/git-compatibility.md), because if you want to explicitly track an ignored file jj can't go around automatically remove it back the next command, but I feel that UX-wise we should figure out if the file was added explicitly and keep it or automatically tracked and drop it at this point.This confused me quite a bit of time, especially as
jj st
in a colocated repo will also add the file to the index (or wherever it is git finds it) and furthergit status
will still list the file in "Changes not staged for commit" as welljj file list --ignored
? (akin togit status --ignored
)Thanks!
Beta Was this translation helpful? Give feedback.
All reactions