-- 
Philippe Strauss
http://www.philou.ch
--- Begin Message ---
Hello,

Je me met à git côté serveur, pour publier un petit binding caml.

J'ai un bare repository distant qui fonctionne bien lorsque'on le clone
via ssh:

philou@air:~/mysrc/tmp$ git clone
ssh://[email protected]/home/users/friendship7net/libsndfile/libsndfile.git
 
Cloning into 'libsndfile'...
remote: Counting objects: 53, done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 53 (delta 26), reused 45 (delta 22)
Receiving objects: 100% (53/53), 16.34 KiB, done.
Resolving deltas: 100% (26/26), done.
philou@air:~/mysrc/tmp$ ls libsndfile/
total 52
 0 ./    4 .depend   4 META.in    4 Makefile.config   0 ba/          8
sndfile.mli      4 sndfile_stub.h
 0 ../   0 .git/     4 Makefile   4 README.txt        4 sndfile.ml  12
sndfile_stub.c   4 test_sndfile.ml

par contre via HTTP:

philou@air:~/mysrc/tmp$ git clone
http://forge.ocamlcore.org/anonscm/git/libsndfile/libsndfile.git
Cloning into 'libsndfile'...
warning: You appear to have cloned an empty repository.

philou@air:~/mysrc/tmp$ ls libsndfile/
total 0
0 ./  0 ../  0 .git/

côté serveur j'ai bien activé le post-update hooks:

friendship7net@ssh:~/libsndfile/libsndfile.git/hooks$ cat post-update 
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".

exec git update-server-info


mais rien à faire, en clonant mon repos par HTTP, j'ai un rép. vide
comme résultat.

Merci.

-- 
Philippe Strauss
http://www.philou.ch

--- End Message ---
_______________________________________________
gull mailing list
[email protected]
http://forum.linux-gull.ch/mailman/listinfo/gull

Répondre à