Skip to content
Snippets Groups Projects
Commit 6da95332 authored by Simona Vetter's avatar Simona Vetter
Browse files

dim: assert_branch before pull requests


In the per-branch checkout dir model assert_branch will simply do a
cd.

Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent cfab2f0e
No related branches found
No related tags found
No related merge requests found
......@@ -429,6 +429,8 @@ function dim_pull_request
branch=$1
upstream=$2
assert_branch $branch
git fetch ${upstream%%/*} >& /dev/null || true
echo "Using $upstream as the upstream"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment