mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
cmd/update-reset: remove .git/describe-cache.
As this is a cache and can potentially be incorrect, let's allow this way of cleaning it up.
This commit is contained in:
parent
d4c8ce0bba
commit
fc40424f0e
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user