Skip to content

Commit

Permalink
Merge pull request #18857 from Homebrew/update_reset_describe_cache
Browse files Browse the repository at this point in the history
cmd/update-reset: remove .git/describe-cache.
  • Loading branch information
MikeMcQuaid authored Dec 3, 2024
2 parents d4c8ce0 + fc40424 commit aab506d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/cmd/update-reset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ homebrew-update-reset() {
head="${head#refs/remotes/origin/}"
git -C "${DIR}" checkout --force -B "${head}" origin/HEAD
fi
rm -rf "${DIR}/.git/describe-cache"
echo
done
}

0 comments on commit aab506d

Please sign in to comment.