söndagen den 22 juni 2008 03.36.40 skrev Shawn O. Pearce: > Not all Git-over-SSH servers run a Bourne shell on the remote side > to evaluate the command we are sending. Some servers run git-shell, > which will fail to execute git-upload-pack if we feed it a quoted > string for the name git-upload-pack. > > Testing concludes that git-shell requires the command name to never > be quoted, and the argument name to always be single quoted. As > this is a long-standing behavior in the wild jgit needs to conform, > as git-shell and all git-shell work-a-likes such as gitosis may be > following the same convention. > > Signed-off-by: Shawn O. Pearce <spearce@xxxxxxxxxxx> > --- > > If there are no arguments I'll push this into the public tree. > It seems right on the surface, and is necessary to use jgit against > repo.or.cz, and probably many other sites like it. Seems ok and works here. Error handling still has a paperbagish feel. See follow up patches. Maybe we should have a patch for git too so it will actually work with spaces in file names. What do people on Windows do? (those that actually get an SSH server up and running and sleep well overe it on that platform). As for pushing and signing. One way is for you (Shawn) and me is to sign-off and push each other's patches. I pushed this one. -- robin -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html