From: Robin Rosenberg Date: Fri, 27 Mar 2009 23:53:24 GMT Subject: Re: patch series starting with [JGIT PATCH 1/5] Remove dead/unused reset method from CountingOutputStream Message-ID: <200903280053.25070.robin.rosenberg.lists@dewire.com> In-Reply-To: <20090327145550.GN23521@spearce.org> fredag 27 mars 2009 15:55:50 skrev "Shawn O. Pearce" : > Robin Rosenberg 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