From: Sverre Rabbelier Date: Wed, 31 Aug 2011 17:03:54 GMT Subject: Re: [PATCH v6] Add a remote helper to interact with mediawiki (fetch & push) Message-ID: In-Reply-To: <1314809708-8177-1-git-send-email-Matthieu.Moy@imag.fr> Heya, 2011/8/31 Matthieu Moy : > 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? > 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