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 | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/qf b/qf
index 1e5594eaf223..6413c2dd4732 100755
--- a/qf
+++ b/qf
@@ -170,20 +170,6 @@ function quilt_clean_check
}
case "$1" in
- fetch)
- cd_toplevel
- repo_check 0
-
- remote=`git config branch.$branch.remote`
-
- cd patches
- git fetch $remote
- cd ..
-
- git fetch $remote
-
- git fetch $remote
- ;;
pull)
cd_toplevel
repo_check 0
@@ -485,6 +471,22 @@ function qf_push
git push $remote refs/baselines/$branch/*:refs/baselines/$branch/*
}
+function qf_fetch
+{
+ cd_toplevel
+ repo_check 0
+
+ remote=`git config branch.$branch.remote`
+
+ cd patches
+ git fetch $remote
+ cd ..
+
+ git fetch $remote
+
+ git fetch $remote
+}
+
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