[maintainer-tools PATCH 3/8] dim: add list-upstreams subcommand to list upstream branches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Helper for bash completion. The result depends on user's dim
configuration.

Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux