Re: [PROBLEM] Checkout from cloned repository does not work

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PROBLEM] Checkout from cloned repository does not work

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:05

Pekka Enberg [off-list ref] writes:
I double checked that -- no, it does not print out an error. I copied
the exact output in the original mail. 
Which ended with the error message "Somebody should define
smarter http server protocol".  That's from git-clone-script and
the echo to generate the output is followed by "exit 1".
quoted
+[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).
I think "at this point" in the flow of tutorial text would be
explicit enough, but I am not very good at writing
documentation, so rewording/clarifying patches are always
welcome.

You could always run git-update-server-info manually after
pushing if you forgot to enable the hook.  If you are paranoid
you could run it with '-f' flag to rebuild the info from
scratch.

Re: [PROBLEM] Checkout from cloned repository does not work

From: Pekka Enberg <hidden>
Date: 2016-06-15 22:42:05

On Sat, 2005-09-03 at 00:31 -0700, Junio C Hamano wrote:
Which ended with the error message "Somebody should define
smarter http server protocol".  That's from git-clone-script and
the echo to generate the output is followed by "exit 1".
Oh, I just didn't realize that was an error message. Perhaps it could
have an "Error" prefix and an explanation that the repository was not
cloned properly.

Anyway, thanks for the help!

			Pekka
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help