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

Cc: Jani Nikula <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
---
 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

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to