public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	Daniel Vetter <daniel.vetter@intel.com>
Subject: Re: [maintainer-tools PATCH] dim: completion for checkout
Date: Wed, 21 Oct 2015 11:20:05 +0300	[thread overview]
Message-ID: <878u6wy6oa.fsf@intel.com> (raw)
In-Reply-To: <1445414574-20851-1-git-send-email-daniel.vetter@ffwll.ch>

On Wed, 21 Oct 2015, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>

Acked-by: Jani Nikula <jani.nikula@intel.com>


> ---
>  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
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2015-10-21  8:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-21  8:02 [maintainer-tools PATCH] dim: completion for checkout Daniel Vetter
2015-10-21  8:20 ` Jani Nikula [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878u6wy6oa.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=daniel.vetter@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox