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:
>>    http://savannah.gnu.org/maintenance/UsingGit#removing-a-branch
>>
>> $ 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