mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
Resolve git.service.ts conflict: both branches independently fixed the "ktx adopts an enclosing git repo when the project dir is nested" bug. main (#282) used checkIsRepo(IS_REPO_ROOT) to init a dedicated repo unless the project dir is already a repo root. This branch's repo-ownership model (classifyKtxRepoOwnership) reads only <dir>/.git and never walks up, so it already handles the nested case (no local .git -> unowned -> dedicated init) and additionally rejects foreign repos via a ktx.managed marker. Kept the ownership model and dropped the now-unused CheckRepoActions import; #282's regression tests (reindex.nested-git-root, project nested-repo) pass against it. |
||
|---|---|---|
| .. | ||
| cli | ||