News for hackers. Stuff that matters.
Re:Jujutsu Primer by rbehrends on Friday November 20, 2026 @11:52AM (#50577756)
> i think forgetting to add something to stage is no worse than adding your debug to master/main because auto track added it.

I agree with that, which is why I pointed you at the auto-track setting. I also think that automatically adding everything is a poor default.

> after all software engineering is a craft, so craft you commits.

I could not disagree more. Reliability dictates that you minimize the risk of errors, including those from having unnecessary manual steps for frequently repeated operations.

My point here is especially git vs. pretty much any other VCS aside from jj, not git vs. jj; do not assume there are only two options here. Being explicit about adding files to a repo is generally a good idea. Having to repeat the process for already added files for every commit is just another opportunity for errors.

And as I wrote in another comment [1], I actually consider the staging area an anti-pattern for unrelated reasons.

[1] https://news.ycombinator.com/item?id=50573492

There are no comments on this comment yet.