mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 20:34:19 +00:00
#474 made install.IsTrackedCheckout (a _-prefixed git repo) the rule for what a tracked repo is, but several paths still treated any git checkout as one, so the same directory was classified differently depending on the entry point. An unprefixed checkout, including a submodule or worktree whose .git is a file, could be pulled as a tracked repo from the dashboard batch stream, the CLI --group and project-mode name resolution, and the dashboard single update's direct-path lookup, and reconcile wrote tracked: true for it. All of them now use IsTrackedCheckout, so an unprefixed checkout updates as a regular skill or is skipped, while _-prefixed repos, including --into repos such as org/_team, still update as tracked repos. Reconcile no longer registers an unprefixed checkout as tracked or creates an entry for it from the git remote. An existing entry that an older reconcile flagged tracked on such a checkout is kept with its source and branch; only the flag is cleared on the next reconcile, so no user data is removed. Fixes #476