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 | 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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx