fredag 27 mars 2009 15:55:50 skrev "Shawn O. Pearce" <spearce@xxxxxxxxxxx>: > Robin Rosenberg <robin.rosenberg.lists@xxxxxxxxxx> wrote: > > Seems fine. While verifying this I got this error. > > > > jgit push sftp://me@calhost/home/me/tmp/cb/.git master:master > > > > Counting objects: 20464 > > Compressing objects: 100% (20464/20464) > > Writing objects: 100% (20464/20464) > > fatal: Can't write /home/me/tmp/cb/.git/objects/../HEAD: Failure > > fatal: sftp://me@localhost/home/me/tmp/cb/.git: cannot create HEAD > > I can't reproduce this error with sftp://. > > At first, it failed to push because my target directory didn't exist. Same here. > After I made the target directory, I also had to create below it > "refs", "objects", "objects/pack" in order to get the push to > succeed, and then it went through clean. hm, I git init'd the repo on the server, that's cheating I suppose. -- 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