robfig / glock

MIT License
230 stars 27 forks source link

Glock sync fails when checking out refs that only exist on certain tags #45

Closed bjulian5 closed 3 years ago

bjulian5 commented 5 years ago

Glock sync fails when checking out a ref that corresponds to a tag.

If the repo already exists locally, glock sync only fetches origin which does not fetch any tags. This means if new tags are pushed to a repository and an entry in the glockfile is manually updated to the corresponding ref, glock sycn will fail.