radian-software / prescient.el

☄️ Simple but effective sorting and filtering for Emacs.
MIT License
603 stars 25 forks source link

Renaming default branch from 'master' to 'main' #122

Closed raxod502 closed 1 year ago

raxod502 commented 2 years ago

Following https://github.com/github/renaming, I've renamed the default branch on prescient.el from master to main. You can update your local copy following these instructions:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

Let me know if this change causes any disruption and I can see what I can do to mitigate!

rmra commented 2 years ago

Hello Radon, first off all, thanks for your work. As you ask for any kind off disruption, in Doom emacs, we get this: In repository "prescient.el", failed to get status:

    Failed to get unambiguous name for "main"
    fatal: Needed a single revision

Doom emacs uses straight.el for version control/package manager.

raxod502 commented 2 years ago

Thanks for the report! Sounds like one of the Git commands used in straight.el has a bug, maybe I can contribute a fix. I'll see if I can reproduce this in my environment.

raxod502 commented 2 years ago

I suspect this is the same as https://github.com/radian-software/straight.el/issues/922 so I'll take a look at resolving that issue, and hopefully it will resolve this one, too.

raxod502 commented 2 years ago

I've pushed a fix to that issue, so if Doom updates to https://github.com/radian-software/straight.el/commit/07cedf0c2b1a649cf3e378e4ba4b9943441c23d6 then I believe this should be resolved.

minad commented 1 year ago

This happened a long time ago. Should be okay to close?

raxod502 commented 1 year ago

Yep, sounds good.