Skip to content
Discussion options

You must be logged in to vote

Unfortunately, I don't think there are better workarounds for this problem. Maybe you can add temporary commit containing the "reverted" *.properties files, but it might be tedious to work.

https://jj-vcs.github.io/jj/latest/FAQ/#how-can-i-avoid-committing-my-local-only-changes-to-tracked-files

If we add support for negative sparse patterns, *.properties file could be excluded from the jj's checkout, and can be managed by git.

#1896

FWIW, I personally believe that content rewriting by VCS is misfeature, and I don't think we'll add native support for that unless there are large user base who are affected by the problem (such as the default CRLF translation of Windows Git.)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@joyously
Comment options

@alex-aua
Comment options

@yuja
Comment options

yuja Jun 20, 2025
Maintainer

Answer selected by alex-aua
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants