for i in `seq 0 255`; do dir=`printf "%02x" $i`; mkdir -p $dir; done
 {endcode}
 
+The version of git installed under =/unsup/git= on the CS dept AFS server includes a patch to avoid this problem.
+
 {subsubsection:Details}
 
 Whenever git creates a directory under .git, it also sets the directory permissions, including the S_ISGID bit. This bit isn't supported under AFS, and the chmod() will fail with errno EACCES. This causes git to abort the entire push. Git uses S_ISGID to ensure all files have the same group, and not whatever primary group each committer has when they push. Explanation from a git maintainer: