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:
parent
a06b86a09b
commit
f51c385a8e
1 changed files with 11 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue