You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- be on master
-- hack
-- git add all the files
-- git change branch_name
-- (editor comes up)
-- exit editor without writing a message (realizing you screwed up from the message in comments)
Now it leaves you on the (new) branch, but accepts your empty commit message with a newly-added Change-Id.
Repro:
-- be on master
-- hack
-- git add all the files
-- git change branch_name
-- (editor comes up)
-- exit editor without writing a message (realizing you screwed up from the message in comments)
Now it leaves you on the (new) branch, but accepts your empty commit message with a newly-added Change-Id.
It should fail when it sees an empty commit message, instead of creating the branch and committing it.
/cc @rsc @adg
The text was updated successfully, but these errors were encountered: