Re: Precious files and the .jj directory
- From
Martin von Zweigbergk <martinvonz@gmail.com>
- Date
- Jul 24, 2025, 23:10 UTC
- Message-ID
- <CANiSa6gDgEQN31J6TGgYHHxi+-0O4U4YC4wyWeY0=GvTJw2swQ@mail.gmail.com>
- In-Reply-To
- <CABPp-BH-bVrX+w7ZtQie_kJ4vaD9subtqsAG5+WHYCmG408xNw@mail.gmail.com>
On Tue, Jul 22, 2025 at 8:22 AM Elijah Newren <newren@gmail.com> wrote:
> Or am I missing some case where this comes up? Is one of the edge > cases for the handling of untracked files biting you?
If I understood the discussion correctly, it typically happens in what we call "colocated repos" [1], where `.git/` and `.jj/` are siblings. I just sent https://github.com/jj-vcs/jj/pull/7071 to at least warn against running `git clean -fdx` when creating such setups.
[1] https://jj-vcs.github.io/jj/latest/git-compatibility/#co-located-jujutsugit-repos