From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 66096 invoked by alias); 22 Aug 2017 16:11:27 -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 66075 invoked by uid 89); 22 Aug 2017 16:11:26 -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-f46.google.com Received: from mail-oi0-f46.google.com (HELO mail-oi0-f46.google.com) (209.85.218.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Aug 2017 16:11:25 +0000 Received: by mail-oi0-f46.google.com with SMTP id g131so190550815oic.3; Tue, 22 Aug 2017 09:11:24 -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=sTYOizkiOKfY9L53l/APLqKipTiSdQaBRGdf1igr61M=; b=ggaXVsULPA9cELjAMCmWoS27iOjBGnxnb5dIYWPTyl3Rbkdhko/B1xSxhOHg4Xbufu RFeFHV9Iff1YrdLJWvqCw/g+B9aqp6WeSAjjjAH5YmT4q+xIgUsn2nANq87UrHDBBBrl BaN8PuTl37VCyCIzLeDp2EbO56s7XdJmwhfIUjf2jr5Cjbm8QNK166Olj8Qx6Yswc5S7 rhhHMUioqmrNl6s9fMQsDerY9phyAMcIjqrePBMTu7f7pv8e60foW+lREeL5q9P/v11K dGgbwJZem6vs87XHIKJmSRnQC+ANg3kyp/Ki5iztVGzfh54K/dIWCqvsIoh3bDOiOQoX ubfg== X-Gm-Message-State: AHYfb5g+E7XDl+hz/eIuc/8he60SKZOjzLtbhBZbekmYC1ILS8rjwMx8 tBXO+RgDWzdrZrbHdqtErhKY8729Eg== X-Received: by 10.202.72.73 with SMTP id v70mr1409249oia.97.1503418283413; Tue, 22 Aug 2017 09:11:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.136.75 with HTTP; Tue, 22 Aug 2017 09:11:22 -0700 (PDT) In-Reply-To: <0704f395-782a-ce48-0dc5-a91cb913ba45@redhat.com> References: <20170822150521.ye7dlqkfcivs5vym@adacore.com> <0704f395-782a-ce48-0dc5-a91cb913ba45@redhat.com> From: "H.J. Lu" Date: Tue, 22 Aug 2017 16:11:00 -0000 Message-ID: Subject: Re: can't push to binutils-gdb, git-hooks rejecting commits To: Pedro Alves Cc: Joel Brobecker , "binutils@sourceware.org" , "gdb@sourceware.org" Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2017-08/txt/msg00054.txt.bz2 On Tue, Aug 22, 2017 at 8:28 AM, Pedro Alves wrote: > On 08/22/2017 04:22 PM, H.J. Lu wrote: >> 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. > > Eh, that worked, thanks. I managed to push to master now. > I had thought of trying something like that, but assumed that > the hooks would reject pushing that too. > > Funny that you didn't need to create users/hjl/pr17709. > I removed users/hjl/pr17709. -- H.J.