mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Do a full fetch
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
e80a7731c9
commit
7aa28e4a3a
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ GitCheckUpdateAvail() {
|
||||||
cd "${directory}" || return
|
cd "${directory}" || return
|
||||||
|
|
||||||
# Fetch latest changes in this repo
|
# 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.
|
# 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)
|
curBranch=$(git rev-parse --abbrev-ref HEAD)
|
||||||
|
|
Loading…
Reference in a new issue