git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: [PROBLEM] Checkout from cloned repository does not work
Date: Sat, 03 Sep 2005 09:49:38 +0300	[thread overview]
Message-ID: <1125730179.29087.3.camel@localhost> (raw)
In-Reply-To: <7vpsrrgwxb.fsf@assigned-by-dhcp.cox.net>

Hi Junio,

On Fri, 2005-09-02 at 11:13 -0700, Junio C Hamano wrote:
> You would need 'chmod +x git-test.git/hooks/post-update' here if
> you are allowing people to pull over http from this repository.

Aah, thanks! That fixed it for me.

On Fri, 2005-09-02 at 11:13 -0700, Junio C Hamano wrote:
> The problem is that 'git clone' does not support cloning over
> http from servers that are not properly prepared.  This 'git
> clone' exited with non-zero status with an error message, didn't
> it?

I double checked that -- no, it does not print out an error. I copied
the exact output in the original mail. 

On Fri, 2005-09-02 at 11:13 -0700, Junio C Hamano wrote:
> +[NOTE]
> +If you plan to publish this repository to be accessed over http,
> +you should do `chmod +x my-git.git/hooks/post-update` at this
> +point.

How about "must do chmod before pushing anything to this repository"? I
think I tried chmod at some point but always did it too late (i.e. after
the initial push).

			Pekka

  reply	other threads:[~2005-09-03  6:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-02 11:20 [PROBLEM] Checkout from cloned repository does not work Pekka Enberg
2005-09-02 18:13 ` Junio C Hamano
2005-09-03  6:49   ` Pekka Enberg [this message]
2005-09-03  7:31     ` Junio C Hamano
2005-09-03  7:43       ` Pekka Enberg

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=1125730179.29087.3.camel@localhost \
    --to=penberg@cs.helsinki.fi \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /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).