dim: Use co as an alias for checkout
PATCH 1/1 dim: Use co as an alias for checkout
conq for co drm-intel-next-queued.
Signed-off-by Daniel Vetter <[email protected]>
--- bash_completion | 4 ++-- dim | 4 ++-- dim.rst | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-)
bash_completion +2 -2
@@ -24,7 +24,7 @@ _dim () cmds="setup nightly-forget update-branches" cmds="$cmds rebuild-nightly cat-to-fixup" cmds="$cmds push-queued pq push-fixes pf push-next-fixes pnf push-branch" - cmds="$cmds checkout co cof conf" + cmds="$cmds checkout co conq cof conf" cmds="$cmds apply-branch ab sob apply-queued aq apply-fixes af apply-next-fixes anf" cmds="$cmds magic-patch mp cd" cmds="$cmds magic-rebase-resolve mrr"
@@ -96,7 +96,7 @@ _dim () COMPREPLY=( $( compgen -o nospace -W "drm- topic/" -- $cur ) ) fi ;; - checkout) + checkout|co) if [[ $COMP_CWORD == "$((i+1))" ]] ; then COMPREPLY=( $( compgen -W "$nightly_branches" -- $cur ) ) fi
dim +2 -2
@@ -759,14 +759,14 @@ case "$subcommand" in push-fixes|pf) dim_push drm-intel-fixes "$@" ;; - checkout) + checkout|co) if [[ "x$1" = "x" ]]; then echo "usage: $0 $subcommand branch" exit 1 fi dim_co "$@" ;; - co) + conq) dim_co drm-intel-next-queued ;; cof)
dim.rst +3 -3
@@ -112,12 +112,12 @@ drm-intel-next-queued branch respectively. Complains if that's not the current branch, assuming that patches got merged to the wrong branch. After pushing also updates linux-next and drm-intel-nightly branches. -checkout *branch* +checkout|co *branch* ----------------- Checks out the named branch. -co --- +conq +---- cof ---
Signature · 6 lines
2.5.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 1 line · Daniel Vetter
conq for co drm-intel-next-queued.
Yes, please.
Reviewed-by Jani Nikula <[email protected]>
Quoted 78 lines
Signed-off-by Daniel Vetter <[email protected]>--- bash_completion | 4 ++-- dim | 4 ++-- dim.rst | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-)bash_completion +2
-2@@ -24,7 +24,7 @@ _dim () cmds="setup nightly-forget update-branches" cmds="$cmds rebuild-nightly cat-to-fixup" cmds="$cmds push-queued pq push-fixes pf push-next-fixes pnf push-branch" - cmds="$cmds checkout co cof conf" + cmds="$cmds checkout co conq cof conf" cmds="$cmds apply-branch ab sob apply-queued aq apply-fixes af apply-next-fixes anf" cmds="$cmds magic-patch mp cd" cmds="$cmds magic-rebase-resolve mrr"@@ -96,7 +96,7 @@ _dim () COMPREPLY=( $( compgen -o nospace -W "drm- topic/" -- $cur ) ) fi ;; - checkout) + checkout|co) if [[ $COMP_CWORD == "$((i+1))" ]] ; then COMPREPLY=( $( compgen -W "$nightly_branches" -- $cur ) ) fidim +2
-2@@ -759,14 +759,14 @@ case "$subcommand" in push-fixes|pf) dim_push drm-intel-fixes "$@" ;; - checkout) + checkout|co) if [[ "x$1" = "x" ]]; then echo "usage: $0 $subcommand branch" exit 1 fi dim_co "$@" ;; - co) + conq) dim_co drm-intel-next-queued ;; cof)dim.rst +3
-3@@ -112,12 +112,12 @@ drm-intel-next-queued branch respectively. Complains if that's not the current branch, assuming that patches got merged to the wrong branch. After pushing also updates linux-next and drm-intel-nightly branches. -checkout *branch* +checkout|co *branch* ----------------- Checks out the named branch. -co --- +conq +---- cof ---Signature · 6 lines
2.5.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx