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

Cc: Jani Nikula <jani.nik...@intel.com>
Cc: Daniel Vetter <daniel.vet...@ffwll.ch>
Cc: Joonas Lahtinen <joonas.lahti...@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.v...@intel.com>
---
 qf | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/qf b/qf
index 534338dc5f01..565c97f5de92 100755
--- a/qf
+++ b/qf
@@ -170,14 +170,6 @@ function quilt_clean_check
 }
 
 case "$1" in
-       stage)
-               cd_toplevel
-               repo_check 1
-
-               git reset --mixed &> /dev/null
-               quilt applied 2> /dev/null | xargs git apply --cached
-               echo All applied patches successfully staged
-               ;;
        wiggle-push|wp)
                cd_toplevel
                repo_check 1
@@ -489,6 +481,16 @@ function qf_pull
        qf co
 }
 
+function qf_stage
+{
+       cd_toplevel
+       repo_check 1
+
+       git reset --mixed &> /dev/null
+       quilt applied 2> /dev/null | xargs git apply --cached
+       echo All applied patches successfully staged
+}
+
 function qf_help
 {
        manpage=$DIM_PREFIX/maintainer-tools/qf.rst
-- 
2.13.2

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

Reply via email to