From: Markus Heidelberg <markus.heidelberg@web.de>
To: Sverre Rabbelier <srabbelier@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: git push bash completion
Date: Fri, 6 Mar 2009 00:15:39 +0100 [thread overview]
Message-ID: <200903060015.39834.markus.heidelberg@web.de> (raw)
In-Reply-To: <fabb9a1e0903051430k5628fe26v4749360e026ac7d2@mail.gmail.com>
Sverre Rabbelier, 05.03.2009:
> Heya,
>
> Observe:
> $ git push ori<tab>
> git push origin
>
> $ git push -f ori<tab>
> git push -f origin/
>
> Something weird going on there, or is this intentional and am I
> missing something?
Something similar happens with fetch and pull. They only complete the
remote name, when exactly 2 words are existing on the command line
("git" and the subcommand) by: if [ "$COMP_CWORD" = 2 ]
Doesn't seem right.
Markus
next prev parent reply other threads:[~2009-03-05 23:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-05 22:30 git push bash completion Sverre Rabbelier
2009-03-05 23:15 ` Markus Heidelberg [this message]
2009-03-06 1:57 ` Jay Soffian
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=200903060015.39834.markus.heidelberg@web.de \
--to=markus.heidelberg@web.de \
--cc=git@vger.kernel.org \
--cc=srabbelier@gmail.com \
/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