git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Elijah NewrenNext: Junio C Hamano
Message 3 of 4 in “Precious files and the .jj directory”
  1. Jade LovelaceJul 22, 2025
  2. Elijah NewrenJul 22, 2025
  3. Martin von ZweigbergkJul 24, 2025
  4. Junio C HamanoJul 22, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.