Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help