[neomutt-devel] master -> main

Marius Gedminas marius at gedmin.as
Sun Apr 17 18:30:10 CEST 2022

On Fri, Apr 08, 2022 at 03:46:36PM +0100, Richard Russon wrote:
> Some time next week, I'll be changing the default branch from `master` to `main`
> for repos:
> - neomutt/neomutt
> - neomutt/neomutt.github.io
> If you have local copies of these repos, you'll need to update them, e.g.
>     git fetch origin
>     git branch --move main
>     git branch --set-upstream-to=origin/main

These commands leave a dangling refs/remotes/origin/HEAD pointer:

    From https://github.com/neomutt/neomutt
     - [deleted]             (none)     -> origin/master
       (refs/remotes/origin/HEAD has become dangling)

I'm not sure how to fix that, nor whether that ever causes any problems
other than a warning in `git fsck` output:

  error: refs/remotes/origin/HEAD: invalid sha1 pointer 0000000000000000000000000000000000000000

Should I worry about it?

Marius Gedminas
Perl is hard for most people to write. They write PERL or Pearl.
        -- Abigail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/attachments/20220417/80ca0095/attachment.sig>

More information about the neomutt-devel mailing list