URL:
  <https://savannah.nongnu.org/support/?111096>

                 Summary: Unprotect the auctex master branch (and protect
main)
                   Group: Savannah Administration
               Submitter: tsdh
               Submitted: Fri 26 Jul 2024 07:16:47 AM CEST
                Category: Source code repositories - developer access
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
        Operating System: GNU/Linux
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 26 Jul 2024 07:16:47 AM CEST By: Tassilo Horn <tsdh>
We auctex developers have new "main" branch as our development branch which
obsoletes the old "master" branch.  I have already pushed the old "master"
branch as "auctex-13" for archiving purposes.

Now I would like to delete the "master" branch (because that's still what git
would check out when cloning the repository) but git refuses to do so:

❯ git push origin :master                                                   
                                                                              
                     
remote: error: By default, deleting the current branch is denied, because the
next
remote: 'git clone' won't result in any file checked out, causing confusion.
remote: 
remote: You can set 'receive.denyDeleteCurrent' configuration variable to
remote: 'warn' or 'ignore' in the remote repository to allow deleting the
remote: current branch, with or without a warning message.
remote: 
remote: To squelch this message, you can set it to 'refuse'.
remote: error: refusing to delete the current branch: refs/heads/master
To git.sv.gnu.org:/srv/git/auctex.git
 ! [remote rejected]   master (deletion of the current branch prohibited)
error: failed to push some refs to 'git.sv.gnu.org:/srv/git/auctex.git'

Could you please unprotect the "master" branch so that I can delete it.  And
while we are at it, please protect the "main" branch (if it's not already
protected) so that this branch cannot be deleted or force-pushed?

Thanks,
  Tassilo







    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/support/?111096>

_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to