blob: dafa6c0f9bd632cb671552b5e262ba6eaa21aa45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
#
# Run git-update-server-info on all repositories.
#
# This is script is needed when servir repositories directly
# to dumb servers (eg. via HTTP).
#
REPOS="/var/git/repositories"
for repo in `ls $REPOS`; do
( cd $REPOS/$repo && su git -c "git update-server-info" )
done
|