Cannot create bridge "user.name not configured"

Timeline

Aleksandra Glesaaen Ødegård (Irubataru) opened (edited)

I tried building from source because I wanted to see the changes from #372 (building 86faedc966), but when I then try to create a remote bridge through git bug bridge configure I get this error regardless of the fact that the user.name is set in my .gitconfig (it also worked in the latest release just now).

Error: user name is not configured in git yet. Please use `git config --global user.name "John Doe"`

Also get it if I do the manual bridge config command.

Edit: It works if I configure user.name and user.email locally in the repo.

karlicoss (karlicoss) commented

strace output shows that the last thing it's trying to access before failing is .git/config in the project directory.. odd

xloem (xloem) commented

right; it is checking the repository-local username in .git/config, but the error message says to set the global one, so following the instructions doesn't resolve the issue.

Michael Muré (MichaelMure) closed the bug