History

tools/merge-all-source-plugins: Fix merge_internal() return code

Michael Niedermayer committed 1 year ago

Commit 3e05b891 parent 4a3e5ea1 file · +5 −2Browse files

Unified · Split

tools/merge-all-source-plugins+5−2
@@ -2,8 +2,11 @@ · 1 unmodified line
2 2
3#If a version is set then we only try merging a source plugin with matching version as a generic one could change the ABI to master HEAD3#If a version is set then we only try merging a source plugin with matching version as a generic one could change the ABI to master HEAD
4merge_internal(){ # $1=repository, $2=refspec4merge_internal(){ # $1=repository, $2=refspec
5 [ -n "$version" ] && git pull --no-rebase --log --stat --commit --no-edit $1 sourceplugin-$2-$version5 branch="sourceplugin-$2"
6 [ -z "$version" ] && git pull --no-rebase --log --stat --commit --no-edit $1 sourceplugin-$26 if [ -n "$version" ] ; then
7 branch="$branch-$version"
8 fi
9 git pull --no-rebase --log --stat --commit --no-edit "$1" "$branch"
7}10}
8 11
9unset succeeded failed version12unset succeeded failed version

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t