1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Back to how we had it before, because --unshallow does not work at all

This commit is contained in:
DL6ER 2017-03-09 00:28:02 +01:00
parent a9b52518bf
commit fd310c6445
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

View File

@ -22,7 +22,8 @@ fully_fetch_repo() {
cd "${directory}" || return 1
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
return 1
fi