Changeset 84144 in spip-zone


Ignore:
Timestamp:
Aug 11, 2014, 9:49:44 AM (5 years ago)
Author:
cam.lafit@…
Message:

Générer les informations git utiles au telechargement par http

  • On diffuse en direct les dépots git (pas de wrapper git-server), il faut mettre à jour par nous meme les informations utiles

Référence : https://www.kernel.org/pub/software/scm/git/docs/git-update-server-info.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _outils_/svn2git/trunk/svn2git.sh

    r83925 r84144  
    5656for project in ${SVN_PROJECTS_SUBGIT[@]}; do
    5757    HOOK_PREPUSH_PROJECT="${GIT_DIRECTORY}/${project}.git/hooks/pre-push"
     58
     59    #Mettre à jour les informations serveur git
     60    su - ${GIT_USER} -c "git --git-dir ${GIT_DIRECTORY}/${project}.git/ update-server-info"
     61
    5862    if [ ! -e "$HOOK_PREPUSH_PROJECT" ]; then
    5963        ln -s $HOOK_PREPUSH_FILE $HOOK_PREPUSH_PROJECT
Note: See TracChangeset for help on using the changeset viewer.