[maintainer-tools PATCH v2 19/33] dim: abstract dim_checkout callers

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

 



Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
---
 dim | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/dim b/dim
index 07ef5d70db1e..519d09a1cdc8 100755
--- a/dim
+++ b/dim
@@ -486,6 +486,21 @@ function dim_checkout
 	fi
 }
 
+function dim_conq
+{
+	dim_checkout drm-intel-next-queued "$@"
+}
+
+function dim_coq
+{
+	dim_checkout drm-intel-fixes "$@"
+}
+
+function dim_conf
+{
+	dim_checkout drm-intel-next-fixes "$@"
+}
+
 function check_repo_clean
 {
 	cd $1
@@ -839,15 +854,6 @@ case "$subcmd" in
 		cd $DIM_PREFIX/drm-intel-nightly
 		cat > `cat .fixup_file_path`
 		;;
-	conq)
-		dim_checkout drm-intel-next-queued
-		;;
-	cof)
-		dim_checkout drm-intel-fixes
-		;;
-	conf)
-		dim_checkout drm-intel-next-fixes
-		;;
 	apply-queued)
 		dim_apply_branch drm-intel-next-queued "$@"
 		;;
-- 
2.1.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://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