This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: can't push to binutils-gdb, git-hooks rejecting commits
- From: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Tue, 22 Aug 2017 16:17:45 +0100
- Subject: Re: can't push to binutils-gdb, git-hooks rejecting commits
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 7AD9AC05680C
- References: <abaa0d79-9e13-22fd-f6f8-f8c00596238f@redhat.com> <20170822150521.ye7dlqkfcivs5vym@adacore.com>
Hi Joel,
On 08/22/2017 04:05 PM, Joel Brobecker wrote:
> For me, I get a different error message, but in the same vein:
>
> fatal: bad revision '^refs/heads/users/hjl/gpoff'
>
> I think it's related to the disk corruption. If the branch stopped
> existing, git should have removed the associated reference.
>
> I would try a "git fsck" to see if it detects any other kinds of
> issues, and decide how to fix them. For instance, we could delete
> those branches, and ask HJL to re-push.
>
> I don't think the "git remote prune" command was meant for
> that (I think it'll prune references from refs/remotes/ instead).
>
> I can look into this, but as I traveling, availability on my side
> is a little spotty.
I don't have sourceware.org shell access, so it'll have
to be someone other than me, I'm afraid. Any takers?
Thanks,
Pedro Alves