[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] inetutils: accidental push of branch

From: Jim Meyering
Subject: Re: [Savannah-hackers-public] inetutils: accidental push of branch
Date: Mon, 07 Dec 2009 13:57:06 +0100

Sylvain Beucler wrote:
> On Mon, Dec 07, 2009 at 05:55:05AM -0500, Alfred M. Szmidt wrote:
>>    On Sat, Dec 05, 2009 at 05:43:36AM -0500, Alfred M. Szmidt wrote:
>>    > Could someone remove the ams branch in inetutils? I pushed it by
>>    > accident, and it seems that I cannot remove.
>>    This section is dedicated to you:
>> $ git push origin :ams
>> *** Deleting a branch is not allowed in this repository
>> error: hooks/update exited with error code 1
>> error: hook declined to update refs/heads/ams
>> So that section is of no help to me.
> Jim, do you know what is inetutils' "update" hook?

Hi Sylvain,

It's a mostly-default one.
You can enable branch deletion by doing this on the server:

  git --git-dir /vservers/vcs-noshell/srv/git/inetutils.git \
    config hooks.allowdeletebranch true

There are comments in hooks/update that describe this
and the other config-controlled options.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]