[Intel-gfx] [maintainer-tools PATCH 08/30] qf: Move "export-visualize" from case to new subcommand.

Rodrigo Vivi rodrigo.vivi at intel.com
Mon Aug 21 20:10:58 UTC 2017


No functional change. Only moving from the case
to its own function.

Cc: Jani Nikula <jani.nikula at intel.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
 qf | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/qf b/qf
index 9ee0a051142e..d9650f44e370 100755
--- a/qf
+++ b/qf
@@ -170,12 +170,6 @@ function quilt_clean_check
 }
 
 case "$1" in
-	export-visualize|ev)
-		cd_toplevel
-		repo_check 1
-
-		gitk QUILT_EXPORT ^$baseline
-		;;
 	push)
 		cd_toplevel
 		repo_check 0
@@ -480,6 +474,15 @@ function qf_export
 	quilt push -a -q
 }
 
+qf_alias_ev=export-visualize
+function qf_export_visualize
+{
+	cd_toplevel
+	repo_check 1
+
+	gitk QUILT_EXPORT ^$baseline
+}
+
 function qf_help
 {
 	manpage=$DIM_PREFIX/maintainer-tools/qf.rst
-- 
2.13.2



More information about the Intel-gfx mailing list