Default branch when init on commit (#739)
Default branch when init on commit (#739)

* Default branch when init on commit

Cloning a repo at a specific commit causes a branch mismatch between the default init branch
(init.defaultBranch or master) and the remote default branch.
Doom (using straight.el) fails on subsequent updates of a repo created like this (which may be a bug on its own).

Co-authored-by: Nicholas Vollmer <822756cd9da32815cbc34cb64f70630f8e8ac8b9@users.noreply.github.com>
raxod502/straight.el,raxod502/straight.el