Do a full fetch

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2022-01-22 22:09:15 +01:00
parent e80a7731c9
commit 7aa28e4a3a
No known key found for this signature in database
GPG key ID: 4CDA6F249DD2B485

View file

@ -41,7 +41,7 @@ GitCheckUpdateAvail() {
cd "${directory}" || return
# Fetch latest changes in this repo
git fetch --tags --quiet origin
git fetch --quiet origin
# Check current branch. If it is master, then check for the latest available tag instead of latest commit.
curBranch=$(git rev-parse --abbrev-ref HEAD)