Allow git.latest to remove local tags which have been removed remotely #49305
Before, this state would simply perform a symmetric difference between the local and remote tags. This would result in tags which were removed remotely being incorrectly identified as newly-fetched tags in the changes dict, since they still existed locally.
This PR modifies the state so that tags present locally (but not remotely) will be removed. This functionality is gated behind a new argument to the state called
referenced this pull request
Aug 24, 2018
@terminalmage Looks like this test is failing across the suites: https://jenkinsci.saltstack.com/job/pr-kitchen-ubuntu1604-py3/job/PR-49305/1/testReport/junit/integration.states.test_git/LocalRepoGitTest/test_renamed_default_branch/