Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 2015 09:46:14 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        "Eggert, Lars" <lars@netapp.com>, =?UTF-8?Q?Ulrich_Sp=c3=b6rlein?= <uqs@FreeBSD.org>
Cc:        Oliver Pinter <oliver.pinter@hardenedbsd.org>, Alfred Perlstein <alfred@freebsd.org>, "freebsd-git@freebsd.org" <freebsd-git@freebsd.org>, FreeBSD-Current <freebsd-current@freebsd.org>, "git-admin@freebsd.org" <git-admin@freebsd.org>
Subject:   Re: FYI: SVN to GIT converter currently broken, github is falling behind
Message-ID:  <56437EE6.7080802@mu.org>
In-Reply-To: <AFDD9479-2EF8-424E-BC13-2910C2E3B479@netapp.com>
References:  <CAJ9axoTuuBt4%2Bg4o1%2BLy9VmNfAa3pcMhcPr2ws8T1kCm=Om=tg@mail.gmail.com> <CAJ9axoRBcFD=-d=pzJJvYempEO-EyR_kAiK3EZQ_hp%2B7_J1iyQ@mail.gmail.com> <563EAAB8.5020702@freebsd.org> <CAJ9axoQmgT0B23UtmzGeMcvS%2BCHxC16FL53fPGObBZoxEC03aQ@mail.gmail.com> <CAJ9axoRcCUoLzyGN-JkJEn%2ByinWdVoSKUcBr7eas5638t6jBUg@mail.gmail.com> <CAPQ4ffu3__uttr14dMQd0Hs34YtYh8MDX0ot8vFS8n6FQgqchw@mail.gmail.com> <CAJ9axoS1npoBFmtTfFjdSUsC=XCccHHG%2BTVX9noi-csuCfCwRw@mail.gmail.com> <AFDD9479-2EF8-424E-BC13-2910C2E3B479@netapp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56437EE6.7080802>