git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Langhoff <martin.langhoff@gmail.com>
To: GIT <git@vger.kernel.org>
Subject: Re: Cannot use cg-clone over http after packing a public repo
Date: Fri, 19 Aug 2005 15:55:41 +1200	[thread overview]
Message-ID: <46a038f905081820552df81905@mail.gmail.com> (raw)
In-Reply-To: <46a038f905081820353988dfdd@mail.gmail.com>

Resolved. I was missing a call to git-update-server-info. It fails to
make the objects/info directory, so that had to be done manually.

  GIT_DIR=~/public_html/repos/moodle.git git-update-server-info 
  error: cannot open
/home/martin/public_html/repos/moodle.git/objects/info/packs+

  mkdir ~/public_html/repos/moodle.git/objects/info
  GIT_DIR=~/public_html/repos/moodle.git git-update-server-info 

And all is well. I'll update the documentation to note that dumb
protocols will need this. Looking at server-info.c, there _is_ a call
to safe_create_leading_directories(), not sure why it'd fail. I'm not
much of a C jockey, really.

This is with git as of a couple of ours ago:
66e06b6a17f1074401ad23f4b2a8a146b2900333

cheers,


martin

      reply	other threads:[~2005-08-19  3:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-19  3:35 Cannot use cg-clone over http after packing a public repo Martin Langhoff
2005-08-19  3:55 ` Martin Langhoff [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46a038f905081820552df81905@mail.gmail.com \
    --to=martin.langhoff@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).