You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
colocation: rename from "colocated repo" to "colocated workspace"
Colocation is about sharing the working copy between jj and git. It's
less important where the repo is stored. I therefore think we should
not call it "colocated repo". I considered renaming it to "colocated
working copy" but that sounded awkward in many places because we often
talk about the whole workspace (repo + working copy), so "In colocated
workspaces with a very large number of branches or other refs" sounds
better than "In colocated working copies with a very large number of
branches or other refs".
Once we support colocate workspaces in non-main Git worktrees, I think
this rename will be even more relevant because then all those
workspaces share the same repo but only some of them may be colocated.
Copy file name to clipboardExpand all lines: cli/tests/[email protected]
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1156,7 +1156,7 @@ Stop tracking specified paths in the working copy
1156
1156
1157
1157
* `<FILESETS>` — Paths to untrack. They must already be ignored.
1158
1158
1159
-
The paths could be ignored via a .gitignore or .git/info/exclude (in colocated repos).
1159
+
The paths could be ignored via a .gitignore or .git/info/exclude (in colocated workspaces).
1160
1160
1161
1161
1162
1162
@@ -1331,7 +1331,7 @@ Create a new repo backed by a clone of a Git repo
1331
1331
1332
1332
Prevent Git tools that are unaware of `jj` and regular Git commands from operating on the repo. The Git repository that stores most of the repo data will be hidden inside a sub-directory of the `.jj` directory.
1333
1333
1334
-
See [colocation docs] for some minor advantages of non-colocated repos.
1334
+
See [colocation docs] for some minor advantages of non-colocated workspaces.
* `--depth <DEPTH>` — Create a shallow clone of the given depth
@@ -1401,7 +1401,7 @@ Show the current colocation status
1401
1401
1402
1402
Update the underlying Git repo with changes made in the repo
1403
1403
1404
-
There is no need to run this command if you're in colocated repo because the export happens automatically there.
1404
+
There is no need to run this command if you're in colocated workspace because the export happens automatically there.
1405
1405
1406
1406
**Usage:** `jj git export`
1407
1407
@@ -1440,7 +1440,7 @@ Update repo with changes made in the underlying Git repo
1440
1440
1441
1441
If a working-copy commit gets abandoned, it will be given a new, empty commit. This is true in general; it is not specific to this command.
1442
1442
1443
-
There is no need to run this command if you're in colocated repo because the import happens automatically there.
1443
+
There is no need to run this command if you're in colocated workspace because the import happens automatically there.
1444
1444
1445
1445
**Usage:** `jj git import`
1446
1446
@@ -1477,12 +1477,12 @@ Create a new Git backed repo
1477
1477
1478
1478
Prevent Git tools that are unaware of `jj` and regular Git commands from operating on the repo. The Git repository that stores most of the repo data will be hidden inside a sub-directory of the `.jj` directory.
1479
1479
1480
-
See [colocation docs] for some minor advantages of non-colocated repos.
1480
+
See [colocation docs] for some minor advantages of non-colocated workspaces.
* `--git-repo <GIT_REPO>` — Specifies a path to an **existing** git repository to be used as the backing git repo for the newly created `jj` repo.
1484
1484
1485
-
If the specified `--git-repo` path happens to be the same as the `jj` repo path (both .jj and .git directories are in the same working directory), then both `jj` and `git` commands will work on the same repo. This is called a colocated repo.
1485
+
If the specified `--git-repo` path happens to be the same as the `jj` repo path (both .jj and .git directories are in the same working directory), then both `jj` and `git` commands will work on the same repo. This is called a colocated workspace.
1486
1486
1487
1487
This option is mutually exclusive with `--colocate`.
0 commit comments