* git push bash completion
@ 2009-03-05 22:30 Sverre Rabbelier
2009-03-05 23:15 ` Markus Heidelberg
0 siblings, 1 reply; 3+ messages in thread
From: Sverre Rabbelier @ 2009-03-05 22:30 UTC (permalink / raw)
To: Git Mailing List
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?
--
Cheers,
Sverre Rabbelier
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git push bash completion
2009-03-05 22:30 git push bash completion Sverre Rabbelier
@ 2009-03-05 23:15 ` Markus Heidelberg
2009-03-06 1:57 ` Jay Soffian
0 siblings, 1 reply; 3+ messages in thread
From: Markus Heidelberg @ 2009-03-05 23:15 UTC (permalink / raw)
To: Sverre Rabbelier; +Cc: Git Mailing List
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: git push bash completion
2009-03-05 23:15 ` Markus Heidelberg
@ 2009-03-06 1:57 ` Jay Soffian
0 siblings, 0 replies; 3+ messages in thread
From: Jay Soffian @ 2009-03-06 1:57 UTC (permalink / raw)
To: markus.heidelberg; +Cc: Sverre Rabbelier, Git Mailing List
On Thu, Mar 5, 2009 at 6:15 PM, Markus Heidelberg
<markus.heidelberg@web.de> wrote:
> 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.
I'm working on a fix. I hope to have it out tonight for review.
j.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-06 1:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 22:30 git push bash completion Sverre Rabbelier
2009-03-05 23:15 ` Markus Heidelberg
2009-03-06 1:57 ` Jay Soffian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox