microsoft / scalar

Scalar: A set of tools and extensions for Git to allow very large monorepos to run on Git without a virtualization layer
MIT License
1.39k stars 63 forks source link

Scalar and git workspaces #500

Closed ykoehler closed 3 years ago

ykoehler commented 3 years ago

In the concept of git workspaces, do we register only the clone or the workspace or both?

derrickstolee commented 3 years ago

You should only need to register the base, and then all the other worktrees will benefit automatically. This is because all of the object data and refs are shared across worktrees.

ykoehler commented 3 years ago

Will there be issue is someone register the workspace instead of the base or both? Can scalar recognize workspace and indicate that they are already registered or something like that? As of today, scalar list report both when registering both.

derrickstolee commented 3 years ago

I believe Scalar works with both, but I'm not sure without doing careful testing. If the scalar register command succeeds, then I would imagine that the rest works. Let me know what you find out after trying it.

github-actions[bot] commented 3 years ago

Labeling this issue as stale. There has been no activity for 30 days. Remove stale label or comment or this issue will be closed in 7 days.