[Intel-gfx] [maintainer-tools PATCH 2/8] dim: add list-branches subcommand to list nightly branches

Jani Nikula jani.nikula at intel.com
Thu Feb 18 16:20:48 UTC 2016


Helper for bash completion. Where to get the information depends on
user's dim configuration.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 dim | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dim b/dim
index c004bc75ca06..33ef8288a291 100755
--- a/dim
+++ b/dim
@@ -972,6 +972,12 @@ function dim_pull_request_next_fixes
 	dim_pull_request drm-intel-next-fixes $upstream
 }
 
+# Note: used by bash completion
+function dim_list_branches
+{
+	echo $dim_branches | sed 's/ /\n/g'
+}
+
 dim_alias_ub=update-branches
 function dim_update_branches
 {
-- 
2.1.4



More information about the Intel-gfx mailing list