git pull --ff-only does not pull all tags. It will only pull tags
where the ref exists on the master branch. Because of this, glock sync
will fail if the ref only exists on a tag that doesn't exists locally.
Without this change, if a user pins to a ref that only exists on tag
that doesn't exists locally, they will either need to run git fetch --tags
or delete the repo and have glock downlaod the repo again.
All this change does is modify the download command to also pull tags in
order to avoid the scenario above.
git pull --ff-only does not pull all tags. It will only pull tags where the ref exists on the master branch. Because of this, glock sync will fail if the ref only exists on a tag that doesn't exists locally.
Without this change, if a user pins to a ref that only exists on tag that doesn't exists locally, they will either need to run git fetch --tags or delete the repo and have glock downlaod the repo again.
All this change does is modify the download command to also pull tags in order to avoid the scenario above.
45