No functional change. Only moving from the case to its own function. Cc: Jani Nikula <jani.nikula@xxxxxxxxx> Cc: Daniel Vetter <daniel.vetter@xxxxxxxx> Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx> --- 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 Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx