tools/merge-all-source-plugins: Check that there are no uncommited changes

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer
2025-05-15 15:46:35 +02:00
parent a06b86a09b
commit f51c385a8e

View File

@ -18,6 +18,17 @@ merge(){ # $1=repository, $2=refspec
suceeded="$suceeded $2"
}
error(){
echo $1
exit 1
}
git diff --exit-code >/dev/null ||\
error "Please commit local changes first"
git diff --cached --exit-code >/dev/null ||\
error "Please commit local changes first"
#version="12.34"
merge "https://github.com/michaelni/FFmpeg.git" "libpostproc"