mpvScripts.sponsorblock: update script: do not use shallow fetch

Shallow fetch should not be used because the script needs to look at past
commits too to pick the latest commit before today.
This commit is contained in:
schnusch 2022-01-13 10:08:38 +01:00
parent 7b5db5f50b
commit 03b8ba0070

View file

@ -26,7 +26,7 @@ if [ ! -d "$git_dir" ]; then
git init --initial-branch="$git_branch" "$git_dir"
git -C "$git_dir" remote add origin "$git_url"
fi
git -C "$git_dir" fetch --depth=1 origin "$git_branch"
git -C "$git_dir" fetch origin "$git_branch"
# use latest commit before today, we should not call the version *today*
# because there might still be commits coming