{"thread":{"id":"18158","subject":"git push bash completion","startedAt":"2009-03-05T22:30:29Z","lastAt":"2009-03-06T01:57:39Z","messageCount":3,"participants":["Sverre Rabbelier","Markus Heidelberg","Jay Soffian"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"107116","messageId":"fabb9a1e0903051430k5628fe26v4749360e026ac7d2@mail.gmail.com","threadId":"18158","inReplyTo":null,"subject":"git push bash completion","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2009-03-05T22:30:29Z","receivedAt":"2009-03-05T22:30:29Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nObserve:\n$ git push ori<tab>\n  git push origin\n\n$ git push -f ori<tab>\n  git push -f origin/\n\nSomething weird going on there, or is this intentional and am I\nmissing something?\n\n-- \nCheers,\n\nSverre Rabbelier\n"},{"id":"107119","messageId":"200903060015.39834.markus.heidelberg@web.de","threadId":"18158","inReplyTo":"fabb9a1e0903051430k5628fe26v4749360e026ac7d2@mail.gmail.com","subject":"Re: git push bash completion","fromName":"Markus Heidelberg","fromEmail":"markus.heidelberg@web.de","sentAt":"2009-03-05T23:15:39Z","receivedAt":"2009-03-05T23:15:39Z","isPatch":false,"sender":{"key":"markus.heidelberg@web.de","avatar":"https://avatars.githubusercontent.com/u/6334512?v=4"},"body":"Sverre Rabbelier, 05.03.2009:\n> Heya,\n> \n> Observe:\n> $ git push ori<tab>\n>   git push origin\n> \n> $ git push -f ori<tab>\n>   git push -f origin/\n> \n> Something weird going on there, or is this intentional and am I\n> missing something?\n\nSomething similar happens with fetch and pull. They only complete the\nremote name, when exactly 2 words are existing on the command line\n(\"git\" and the subcommand) by: if [ \"$COMP_CWORD\" = 2 ]\n\nDoesn't seem right.\n\nMarkus\n"},{"id":"107129","messageId":"76718490903051757j37511e2eq7f2bae26c1576f76@mail.gmail.com","threadId":"18158","inReplyTo":"200903060015.39834.markus.heidelberg@web.de","subject":"Re: git push bash completion","fromName":"Jay Soffian","fromEmail":"jaysoffian@gmail.com","sentAt":"2009-03-06T01:57:39Z","receivedAt":"2009-03-06T01:57:39Z","isPatch":false,"sender":{"key":"jaysoffian@gmail.com","avatar":"https://avatars.githubusercontent.com/u/155970?v=4"},"body":"On Thu, Mar 5, 2009 at 6:15 PM, Markus Heidelberg\n<markus.heidelberg@web.de> wrote:\n\n> Something similar happens with fetch and pull. They only complete the\n> remote name, when exactly 2 words are existing on the command line\n> (\"git\" and the subcommand) by: if [ \"$COMP_CWORD\" = 2 ]\n>\n> Doesn't seem right.\n\nI'm working on a fix. I hope to have it out tonight for review.\n\nj.\n"}]}