3 # Unset gitweb.lastreceive in all projects so that the next time
4 # each project reaches its gc interval it will run gc
13 cut
-d : -f 1 < "$cfg_chroot/etc/group" |
grep -v ^_repo | \
17 projdir
="$base/$proj.git"
18 if git
--git-dir="$projdir" config
--unset gitweb.lastreceive
2>/dev
/null
; then
19 count
=$
(( $count + 1 ))
20 if [ $
(( $count % 10 )) = 0 ]; then
25 if [ $
(( $count % 10 )) != 0 ]; then