Re: [PATCH v6] Add a remote helper to interact with mediawiki (fetch & push)
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Aug 31, 2011, 17:03 UTC
- Message-ID
- <CAGdFq_gu=SyjUnUS1bcjPrcPPtKVt+UjDBvBmZqosk+OuDFDHw@mail.gmail.com>
- In-Reply-To
- <1314809708-8177-1-git-send-email-Matthieu.Moy@imag.fr>
Heya,
2011/8/31 Matthieu Moy <Matthieu.Moy@imag.fr>:
> So, after understanding better how import works, here's an updated > patch that gets rid of the hacky workaround to terminate and send the > "done" command at the right time.
So what do you think of the way the protocol works now? Do you agree that (modulo lacking docs) it is better than previously?
Show 13 quoted lines
> Actually, push had the same problem but it just went unnoticed (the > remote has just one branch, so it's silly to try to push multiple > branches at the same time ...). This version handles push more > cleanly, giving accurate error message in cases like > > git push origin :master > git push origin foo bar master > > or perhaps more commonly > > git push --all > > in a repository with branches other than master.
My perl skills are minimal, but I'm curious how/where you implemented this? Is this something that we can port to remote-testgit to document the CPB on handling such things?
-- Cheers, Sverre Rabbelier