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