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:
parent
7b5db5f50b
commit
03b8ba0070
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue