[Intel-gfx] [maintainer-tools PATCH 16/30] qf: Move "patch-amend" from case to new subcommand.
Rodrigo Vivi
rodrigo.vivi at intel.com
Mon Aug 21 20:11:06 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 dff560c2a1cf..85ef2a8f4f3c 100755
--- a/qf
+++ b/qf
@@ -170,12 +170,6 @@ function quilt_clean_check
}
case "$1" in
- patch-amend|pa)
- cd_toplevel
- repo_check 1
-
- gvim `quilt top`
- ;;
list-unused-patches)
cd_toplevel
repo_check 1
@@ -498,6 +492,15 @@ function qf_apply
qf patch-amend
}
+qf_alias_pa=patch_amend
+function qf_patch_amend
+{
+ cd_toplevel
+ repo_check 1
+
+ gvim `quilt top`
+}
+
function qf_help
{
manpage=$DIM_PREFIX/maintainer-tools/qf.rst
--
2.13.2
More information about the Intel-gfx
mailing list