Skip to content
Snippets Groups Projects

Backports v2023dev1 → v2021

Merged Frederic Danis requested to merge apertis/v2023dev1 into apertis/v2021
4 files
+ 17
7
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 10
1
@@ -8,7 +8,16 @@ usage () {
}
branch="$(git symbolic-ref --short HEAD)"
test -z "$branch" && branch="master"
case "$branch" in
apertis/*)
;;
*)
# take the default remote branch if we're not on a apertis/* branch
branch=$(git ls-remote --symref git@gitlab.apertis.org:tests/common.git HEAD \
| grep ^ref: \
| sed 's,ref: refs/heads/\(.*\)\s\+HEAD,\1,')
;;
esac
case $1 in
pull)
Loading