Re: patch series starting with [JGIT PATCH 1/5] Remove dead/unused reset method from CountingOutputStream
fredag 27 mars 2009 15:55:50 skrev "Shawn O. Pearce" <spearce@spearce.org>:
Show 14 quoted lines
> Robin Rosenberg <robin.rosenberg.lists@dewire.com> 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.
hm, I git init'd the repo on the server, that's cheating I suppose.
-- robin