Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Fix -l option for git-tag completion



Looks like nobody else committed this, I've done so now.

On 2 May 2011 10:16, Nikolai Weibull <now@xxxxxxxx> wrote:
> ---
>  Completion/Unix/Command/_git |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
> index 4664cfa..0135cb9 100644
> --- a/Completion/Unix/Command/_git
> +++ b/Completion/Unix/Command/_git
> @@ -1509,12 +1509,12 @@ _git-tag () {
>       '*:: :__git_ignore_line_inside_arguments __git_tags' \
>     - listing \
>       '-n+[limit line output of annotation]: :__git_guard_number "limit"' \
> -      '-l[list tags matching pattern]:pattern' \
> +      '-l[list tags matching pattern]' \
>       '--contains=[only list tags which contain the specified commit]: :__git_commits' \
> +      '::pattern' \
>     - verification \
>       '-v[verifies gpg signutare of tags]' \
> -      '*:: :__git_ignore_line_inside_arguments __git_tags' \
> -      && ret=0
> +      '*:: :__git_ignore_line_inside_arguments __git_tags' && ret=0
>  }
>
>  # Ancillary Commands (Manipulators)
> --
> 1.7.4.4



Messages sorted by: Reverse Date, Date, Thread, Author