From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4D43C591A3 for ; Fri, 12 Feb 2016 07:56:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8AF19E07FB; Fri, 12 Feb 2016 07:56:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3195FE07FB for ; Fri, 12 Feb 2016 07:56:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EB410340BD1 for ; Fri, 12 Feb 2016 07:56:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C365C8EB for ; Fri, 12 Feb 2016 07:56:11 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1455263756.d3dc416dd1c0faa1f9a72eabbd4d9b063d089d8a.mgorny@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: fetch-git-reports.sh X-VCS-Directories: / X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d3dc416dd1c0faa1f9a72eabbd4d9b063d089d8a X-VCS-Branch: master Date: Fri, 12 Feb 2016 07:56:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6c04b6c0-8f0d-4748-b608-e464df32a1d3 X-Archives-Hash: ac48566c07e00547ec1a3a760ccd3b7e commit: d3dc416dd1c0faa1f9a72eabbd4d9b063d089d8a Author: Michał Górny gentoo org> AuthorDate: Fri Feb 12 07:55:56 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 12 07:55:56 2016 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=d3dc416d fetch-git-reports: Clean up repository before pulling fetch-git-reports.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fetch-git-reports.sh b/fetch-git-reports.sh index ae1bc27..0d0a2d9 100755 --- a/fetch-git-reports.sh +++ b/fetch-git-reports.sh @@ -13,6 +13,8 @@ for repo in gentoo-ci gpyutils repos; do [[ -d ${repo} ]] || git clone --depth=1 "git://anongit.gentoo.org/report/${repo}.git" cd "${repo}" + git reset --hard + git clean -df git fetch origin '+refs/heads/*:refs/remotes/origin/*' git pull cd - >/dev/null