mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 14:20:18 +00:00
Merge remote-tracking branch 'origin/new/piholecheckout' into new/piholecheckout
This commit is contained in:
commit
c3c7dcc9f5
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ fully_fetch_repo() {
|
||||||
|
|
||||||
cd "${directory}" || return 1
|
cd "${directory}" || return 1
|
||||||
if is_repo "${directory}"; then
|
if is_repo "${directory}"; then
|
||||||
git fetch --quiet --unshallow &> /dev/null || true # Deep repo's cause errors but are valid repos.
|
git remote set-branches origin '*' || return 1
|
||||||
|
git fetch --quiet || return 1
|
||||||
else
|
else
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue