mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-16 22:48:29 +08:00
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:
@ -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"
|
||||
|
Reference in New Issue
Block a user