From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114484 invoked by alias); 22 Aug 2017 15:22:18 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 113745 invoked by uid 89); 22 Aug 2017 15:22:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-oi0-f53.google.com Received: from mail-oi0-f53.google.com (HELO mail-oi0-f53.google.com) (209.85.218.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Aug 2017 15:22:16 +0000 Received: by mail-oi0-f53.google.com with SMTP id f11so188929847oic.0; Tue, 22 Aug 2017 08:22:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=eMg8NohJRVE3u136fzcjAcydNDg7Q7nFrKjUFko5KQ0=; b=OfO5vxyo8DOvxWsAE++tvX6d3v6ZJ8J6at6gYoCNclcTOA8hrWhc72rD+zWj9TQJCP DTaAcbO2PfMDmdixR+CZXuYoI0ffEYB1CPF2zQ3cPxSZGudLbQve7R6/gx+6k3BQHHeK ml8n8Vz0FaIdS2vfTgWNIiEVdMrlbpDjlawp9wF4sRYTlqIV5rNcenTnmBHoJ6/M5CNx 3CbkIgNvFNjaQhqxQlUzMvQXpdVq1vIcEEPl8LMkyk1U8/CmhfuYsOC3ia18KI4ISSkb vNfTwl3yrSJwOQU3faw0jdjuLJ1xKUHS2l31+EOzzLZDByPslhBbKNQEqboWBQ7pUGBV N4Bg== X-Gm-Message-State: AHYfb5iK4tdKci2LrUdCDBRTxp4oouk1GonJRGJUDsLKtDsijkB3OWXC o+vhzcgZ/8Tbmd/JKeh/aoPMnRnxdqqO X-Received: by 10.202.227.3 with SMTP id a3mr1175187oih.240.1503415323972; Tue, 22 Aug 2017 08:22:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.136.75 with HTTP; Tue, 22 Aug 2017 08:22:03 -0700 (PDT) In-Reply-To: <20170822150521.ye7dlqkfcivs5vym@adacore.com> References: <20170822150521.ye7dlqkfcivs5vym@adacore.com> From: "H.J. Lu" Date: Tue, 22 Aug 2017 15:22:00 -0000 Message-ID: Subject: Re: can't push to binutils-gdb, git-hooks rejecting commits To: Joel Brobecker Cc: Pedro Alves , "binutils@sourceware.org" , "gdb@sourceware.org" Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2017-08/txt/msg00050.txt.bz2 On Tue, Aug 22, 2017 at 8:05 AM, Joel Brobecker wrote: > Hi Pedro, > >> I'm trying to push a patch to master, but it's getting rejected by the >> server-side git hooks. Anyone else seeing the same? See below. >> >> Repeating that big "git rev-list" command below locally shows: >> >> fatal: bad revision '^refs/heads/users/hjl/pr17709' >> >> That branch doesn't appear to exist anymore. Sounds like the hooks >> need to run "git remote prune origin" on their clone? Does that make >> sense? > > 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 deleted the old users/hjl/gpoff and pushed a new one. -- H.J.