(no title)
Okkef | 28 days ago
Pre-commit hooks are not possible [yet?], which is a minor inconvenience. Worse, workspaces/worktrees use a different mechanism. This causes like Claude Desktop (which uses worktrees) to break. Also Claude and other agents are always confused about JJ and fall back to git too often.
Yeroc|28 days ago
j1elo|28 days ago
surajrmal|28 days ago
stouset|28 days ago
ithkuil|28 days ago
hippo22|28 days ago
For this reason, programming languages, at least how we understand them today, have reached a terminal state. I could easily make a new language now, especially with the help of Claude Code et al, but there would never be any reason for any other engineer to use it.
steveklabnik|28 days ago
Tools that integrate with git specifically can be tough though, yeah. Some do Just Work, and some very much do not.
I’ve found a “we use jj not git for this project” in Claude.md makes falling back to git rare, but I also tend to incorporate version control into slash commands or skills directly rather than let Claude decide what to do.
rtaylorgarlock|28 days ago
zamalek|28 days ago
olup|28 days ago
dwattttt|28 days ago
A 'commit' 'happens' when you leave a change in jj, i.e. by moving to a new or existing change; that's when you'd run pre-commit hooks.
steveklabnik|28 days ago
KingMob|28 days ago
Okkef|28 days ago