Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15

Re: [PATCH v6] Add a remote helper to interact with mediawiki (fetch & push)

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:51:57

Heya,

2011/8/31 Matthieu Moy [off-list ref]:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help