mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
- NewMetaFromSource: set meta.Branch from source.Branch - installFromDiscoveryImpl: forward discovery.Source.Branch when building per-skill Source struct for metadata - installFromGitSubdir: pass source.Branch to sparseCloneSubdir (was hardcoded empty string, causing subdir installs to ignore --branch) - ReconcileGlobalSkills: sync meta.Branch to registry on both new and existing entries - toSkillEntryDTOs: include Branch field in DTO conversion - updateRegularSkill / updateSkillFromMeta: restore source.Branch from meta before reinstalling, so updates pull from the originally-specified branch Tests: TestInstallBranch_MetadataPersistence, TestInstallBranch_UpdatePreservesBranch