bbedit as commit message editor for Git

I had this

export EDITOR="bbedit -w"

and, as expected, Git opened bbedit.

But, it also said

Aborting commit due to empty commit message.

Screwy.

I found this:

git config --global core.editor "bbedit --wait --resume"

and put it here so it would be remembered.