[Ltrace-devel] Overwriting branches in git
Petr Machata
pmachata at redhat.com
Tue Oct 4 00:38:19 UTC 2011
Petr Machata <pmachata at redhat.com> writes:
> 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'
It turns out that deleting branches was disallowed by the configuration
of the repository. It is now turned back on, after a consultation with
and a hint by Juan Cespedes. For multi-threading tracing work, I'm now
back to using the branch pmachata/threads.
Thanks,
PM
More information about the Ltrace-devel
mailing list