You can clone with
No one assigned
magit next, revision b84af7c
After adding a remote in a new repository the following error message is shown:
save-excursion: Search failed: "^ remotes\\/origin"
Also the branch display is then messed up slightly.
Steps to reproduce:
The error is also shown whenever magit-status is executed from the branch manager in this state.
The error disappears as soon as I push something to the remote.
This looks like an issue if git has no information about remote branches yet -- or if there simply are no remote branches.
The problem is in magit-wash-branches. It expects, that every remote
has at least one line in git remote -vva, but that isn't the case
if the remote has no branches (e.g if they haven't been fetched, yet).
git remote -vva
A fix has been merged, see #422.