[Intel-gfx] [maintainer-tools PATCH 3/8] dim: add list-upstreams subcommand to list upstream branches
Jani Nikula
jani.nikula at intel.com
Thu Feb 18 16:20:49 UTC 2016
Helper for bash completion. The result depends on user's dim
configuration.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
dim | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dim b/dim
index 33ef8288a291..6fb496ea4192 100755
--- a/dim
+++ b/dim
@@ -973,6 +973,14 @@ function dim_pull_request_next_fixes
}
# Note: used by bash completion
+function dim_list_upstreams
+{
+ echo origin/master
+ echo $DIM_DRM_UPSTREAM_REMOTE/drm-next
+ echo $DIM_DRM_UPSTREAM_REMOTE/drm-fixes
+}
+
+# Note: used by bash completion
function dim_list_branches
{
echo $dim_branches | sed 's/ /\n/g'
--
2.1.4
More information about the Intel-gfx
mailing list