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

dim: Make branch_to_remote more robust


The old version relied on branch@{upstream}, which requires that
the branch is checked out. Instead use the indirection through the
abstract drm-tip repo.

v2: Questions from Jani:

- We still need the fallback path for non-managed branches like
  rerere-cache or drm-intel-next.

- Also this change removes some of the implicit validation that the
  branch has a local tracking branch. I only spotted one place where
  an assert_branch was missing.

Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent f7f2f9ea
No related branches found
No related tags found
No related merge requests found
Loading
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