1
diff -ur git-core-1.4.4/debian/examples/index.aux-generation git-core-1.4.4.mine/debian/examples/index.aux-generation
2
--- git-core-1.4.4/debian/examples/index.aux-generation 2006-11-24 17:59:27.000000000 -0500
3
+++ git-core-1.4.4.mine/debian/examples/index.aux-generation 2006-11-24 18:01:12.000000000 -0500
5
for a in * ; do [ -r $a/public_git ] && [ ! -d /home/git/users/$a ] && ln -s /home/$a/public_git /home/git/users/$a ; done
8
-ls */HEAD users/*/*/HEAD | grep ^[-./=+a-zA-Z0-9]*\$ | sed s:/HEAD\$:: | while read DIR ; do
9
+find . -name 'HEAD' | grep ^[-./=+a-zA-Z0-9]*\$ | sed s:/HEAD\$:: | while read DIR ; do
10
TREEUID=`stat -c %U $DIR`
11
TREEUSERNAME=`grep ^$TREEUID: /etc/passwd | cut -f5 -d: | sed s/\ /+/`
12
if [ "$TREEUSERNAME" = "" ]; then