contrib: script to create a new vendor branch
authorRichard Earnshaw <rearnsha@arm.com>
Wed, 22 Jan 2020 10:06:50 +0000 (10:06 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Wed, 22 Jan 2020 10:06:50 +0000 (10:06 +0000)
commitf96af171bee93486896407ccad0e1e4dc200bc0c
tree4afef3154d64f3e1600efd4a8f512c780e6ccff7
parentc892d8f58f6fed46c343bdb6dd4d365f08f801b8
contrib: script to create a new vendor branch

This script is intended to create a new vendor branch.  Doing so is
not completely obvious if you are not familiar with the upstream
structure, so this takes the pain out of getting it right.

It doesn't check out the branch locally, but does set everything up so
that, if you have push enabled for your vendor branches, then

  git push vendors/<vendor> <branch>

will work as expected.

Run the script as

  contrib/git-add-vendor-branch.sh <vendor>/<branch> <start-point>

the <vendor> space must have previously been set up in the way
git-fetch-vendor.sh expects.

    * git-add-vendor-branch.sh: New file.
contrib/ChangeLog
contrib/git-add-vendor-branch.sh [new file with mode: 0755]