All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Braun <thomas.braun@virtuell-zuhause.de>
To: Jeff King <peff@peff.net>
Cc: git <git@vger.kernel.org>, "Junio C Hamano" <gitster@pobox.com>,
	"SZEDER Gábor" <szeder@ira.uka.de>,
	"Ramkumar Ramachandra" <artagnon@gmail.com>,
	"John Keeping" <john@keeping.me.uk>
Subject: Re: [PATCH 2/2] completion: add git status
Date: Wed, 1 Jun 2016 11:05:44 +0200	[thread overview]
Message-ID: <5ce10133-e982-4c02-7f97-77d03231e677@virtuell-zuhause.de> (raw)
In-Reply-To: <20160601040722.GB18978@sigill.intra.peff.net>

> Jeff King <peff@peff.net> hat am 1. Juni 2016 um 06:07 geschrieben:
> 
> 
> On Wed, Jun 01, 2016 at 01:42:18AM +0200, Thomas Braun wrote:
> 
> > Signed-off-by: Thomas Braun <thomas.braun@virtuell-zuhause.de>
> > ---
> >  contrib/completion/git-completion.bash | 29 +++++++++++++++++++++++++++++
> >  1 file changed, 29 insertions(+)
> > 
> > diff --git a/contrib/completion/git-completion.bash
> > b/contrib/completion/git-completion.bash
> > index 57a0acc..96b7d86 100644
> > --- a/contrib/completion/git-completion.bash
> > +++ b/contrib/completion/git-completion.bash
> > @@ -1782,6 +1782,35 @@ _git_stage ()
> >  	_git_add
> >  }
> >  +_git_status ()
> 
> This patch has the same funniness as the other. Weird.

Should be fixed now.

> > +{
> > +	case "$cur" in
> > +	--ignore-submodules=*)
> > +		__gitcomp "none untracked dirty all" "" "${cur##--ignore-submodules=}"
> > +		return
> > +		;;
> > +	--untracked-files=*)
> > +		__gitcomp "$(__git_untracked_file_modes)" "" "${cur##--untracked-files=}"
> 
> Same comment on $() here.

Fixed.

> > +		return
> > +		;;
> > +	--column=*)
> > +		__gitcomp "
> > +			always never auto column row plain dense nodense
> > +			" "" "${cur##--column=}"
> > +		return
> > +		;;
> > +	--*)
> > +		__gitcomp "
> > +			--short --branch --porcelain --long --verbose
> > +			--untracked-files= --ignore-submodules= --ignored
> > +			--column= --no-column
> > +			"
> > +		return
> > +		;;
> > +	esac
> > +	__git_complete_file
> > +}
> 
> The rest of it (both the overall goal, and the patch itself) look OK to
> me.

Thanks,
Thomas

      reply	other threads:[~2016-06-01  9:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-31 23:42 [PATCH 2/2] completion: add git status Thomas Braun
2016-06-01  4:07 ` Jeff King
2016-06-01  9:05   ` Thomas Braun [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=5ce10133-e982-4c02-7f97-77d03231e677@virtuell-zuhause.de \
    --to=thomas.braun@virtuell-zuhause.de \
    --cc=artagnon@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=john@keeping.me.uk \
    --cc=peff@peff.net \
    --cc=szeder@ira.uka.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.