[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [repo-management] bin/anongit: Turn on fsckObjects on the anongits
From:       Jeff Mitchell <mitchell () kde ! org>
Date:       2013-03-28 22:11:27
Message-ID: 20130328221127.DA21AA604F () git ! kde ! org
[Download RAW message or body]

Git commit d714de4f233a979762b7f4a8d3409861587c2190 by Jeff Mitchell.
Committed on 28/03/2013 at 23:10.
Pushed by mitchell into branch 'master'.

Turn on fsckObjects on the anongits

M  +2    -0    bin/anongit/update_repo_mirrors.sh

http://commits.kde.org/repo-management/d714de4f233a979762b7f4a8d3409861587c=
2190

diff --git a/bin/anongit/update_repo_mirrors.sh b/bin/anongit/update_repo_m=
irrors.sh
index 56c66a2..b86ddc9 100755
--- a/bin/anongit/update_repo_mirrors.sh
+++ b/bin/anongit/update_repo_mirrors.sh
@@ -46,6 +46,7 @@ for line in `cat ~/projects-to-anongit.list`; do
     if [ -e $bname -a -e $bname/HEAD ]
       then
         cd $bname
+        git config transfer.fsckObjects true
         git remote update -p
         git update-server-info
       else
@@ -53,6 +54,7 @@ for line in `cat ~/projects-to-anongit.list`; do
         git clone --mirror git://git.kde.org/$line $bname
         cd $bname
         git fsck
+        git config transfer.fsckObjects true
         if [ $? -ne 0 ]
           then
             echo "Fresh mirror clone of git://git.kde.org/$line failed git=
 fsck, not following through with rest of update" | mail -r "sysadmin@kde.o=
rg" -s "WARNING: git fsck problem on $HOSTNAME" sysadmin@kde.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic