From owner-freebsd-git@freebsd.org Wed Nov 11 17:46:19 2015 Return-Path: Delivered-To: freebsd-git@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D659A2C37A; Wed, 11 Nov 2015 17:46:19 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id AE0471DA9; Wed, 11 Nov 2015 17:46:18 +0000 (UTC) (envelope-from bright@mu.org) Received: from Alfreds-MacBook-Pro-2.local (c-76-21-10-192.hsd1.ca.comcast.net [76.21.10.192]) by elvis.mu.org (Postfix) with ESMTPSA id 4FA7C345A916; Wed, 11 Nov 2015 09:46:11 -0800 (PST) Subject: Re: FYI: SVN to GIT converter currently broken, github is falling behind To: "Eggert, Lars" , =?UTF-8?Q?Ulrich_Sp=c3=b6rlein?= References: <563EAAB8.5020702@freebsd.org> Cc: Oliver Pinter , Alfred Perlstein , "freebsd-git@freebsd.org" , FreeBSD-Current , "git-admin@freebsd.org" From: Alfred Perlstein Message-ID: <56437EE6.7080802@mu.org> Date: Wed, 11 Nov 2015 09:46:14 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2015 17:46:19 -0000 Lars, Try to remove .git/gc.log then re-run fetch. If that doesn't work then move ".git/refs/remotes/origin/HEAD" to backup location outside of your .git directory and try again. -Alfred On 11/11/15 4:03 AM, Eggert, Lars wrote: > Hi, > > I just got this error when fetching from remote; related? > > [elars@laurel: ~/src] git fetch --all > Fetching origin > Auto packing the repository in background for optimum performance. > See "git help gc" for manual housekeeping. > Fetching upstream > remote: Counting objects: 557, done. > remote: Compressing objects: 100% (543/543), done. > remote: Total 557 (delta 213), reused 2 (delta 2), pack-reused 0 > Receiving objects: 100% (557/557), 1.15 MiB | 433.00 KiB/s, done. > Resolving deltas: 100% (213/213), completed with 2 local objects. > From github.com:/freebsd/freebsd > b4eb11a..3eb0ea4 master -> upstream/master > f147893..9c319c0 stable/10 -> upstream/stable/10 > e901edd..b3c9fd2 stable/8 -> upstream/stable/8 > 81ab2b1..2fc7a9a stable/9 -> upstream/stable/9 > c2c933c..cc76737 svn_head -> upstream/svn_head > Auto packing the repository in background for optimum performance. > See "git help gc" for manual housekeeping. > error: The last gc run reported the following. Please correct the root cause > and remove .git/gc.log. > Automatic cleanup will not be performed until the file is removed. > > fatal: bad object refs/remotes/origin/HEAD > error: failed to run repack > > Auto packing the repository in background for optimum performance. > See "git help gc" for manual housekeeping. > error: The last gc run reported the following. Please correct the root cause > and remove .git/gc.log. > Automatic cleanup will not be performed until the file is removed. > > fatal: bad object refs/remotes/origin/HEAD > error: failed to run repack > > Lars