current branch, with or without a warning message.

To squelch this message, you can set it to 'refuse'.