[Ltrace-devel] Overwriting branches in git
Joe Damato
ice799 at gmail.com
Wed Jul 13 00:19:13 UTC 2011
On Sat, Jul 9, 2011 at 4:44 AM, Petr Machata <pmachata at redhat.com> wrote:
> Hi there,
>
> does anyone have any insight into why we disallow $SUBJ? I intended to
> replace the branch pmachata/threads with the cleaned-up version. That
> includes editing of history, hence I need to delete and re-create the
> branch. But:
>
>> $ git push origin :pmachata/threads
>> remote: *** Deleting a branch is not allowed in this repository
>> remote: error: hook declined to update refs/heads/pmachata/threads
>> To ssh://pmachata-guest@git.debian.org/git/collab-maint/ltrace.git
>> ! [remote rejected] pmachata/threads (hook declined)
>> error: failed to push some refs to 'ssh://pmachata-guest@git.debian.org/git/collab-maint/ltrace.git'
Looks right to me, no idea why it would fail. I think you can prevent
deletions by adding an update hook. Perhaps this was added by whoever
maintains the git stuff at debian.org for some reason or another?
I don't know anything about debian.org, so no idea who to turn to on this.
Joe
More information about the Ltrace-devel
mailing list