Re: [PATCH resend] bash completion: add 'rename' subcommand to git-remote

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Markus Heidelberg <markus.heidelberg@xxxxxx> wrote:
> 
> Signed-off-by: Markus Heidelberg <markus.heidelberg@xxxxxx>

Acked-by: Shawn O. Pearce <spearce@xxxxxxxxxxx>

> 	I've just accidently read in the completion file itself, that
> 	Shawn is the maintainer, so I give it a third try. The first two
> 	haven't been sent to him.

Sorry, I must have missed the other two attempts.  :-)

 
>  contrib/completion/git-completion.bash |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
> index 049ded0..6623344 100755
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -1384,7 +1384,7 @@ _git_config ()
>  
>  _git_remote ()
>  {
> -	local subcommands="add rm show prune update"
> +	local subcommands="add rename rm show prune update"
>  	local subcommand="$(__git_find_subcommand "$subcommands")"
>  	if [ -z "$subcommand" ]; then
>  		__gitcomp "$subcommands"
> @@ -1392,7 +1392,7 @@ _git_remote ()
>  	fi
>  
>  	case "$subcommand" in
> -	rm|show|prune)
> +	rename|rm|show|prune)
>  		__gitcomp "$(__git_remotes)"
>  		;;
>  	update)
> -- 
> 1.6.1.35.g0c23
> 

-- 
Shawn.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux