Signed-off-by: Daniel Vetter <[email protected]>
---
bash_completion | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/bash_completion b/bash_completion
index 0ad0ec4c88fe..e35a001dcb73 100644
--- a/bash_completion
+++ b/bash_completion
@@ -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 co cof conf"
+ cmds="$cmds checkout co 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,6 +96,11 @@ _dim ()
COMPREPLY=( $( compgen -o nospace -W "drm-
topic/" -- $cur ) )
fi
;;
+ checkout)
+ if [[ $COMP_CWORD == "$((i+1))" ]] ; then
+ COMPREPLY=( $( compgen -W "$nightly_branches"
-- $cur ) )
+ fi
+ ;;
remove-branch)
if [[ $COMP_CWORD == "$((i+1))" ]] ; then
COMPREPLY=( $( compgen -W "$nightly_branches"
-- $cur ) )
--
2.5.1
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx