IDEA-64049 Git: before commit check if user.name and user.email have been set, otherw...
authorKirill Likhodedov <Kirill.Likhodedov@jetbrains.com>
Fri, 27 Jan 2012 13:21:22 +0000 (17:21 +0400)
committerKirill Likhodedov <Kirill.Likhodedov@jetbrains.com>
Fri, 27 Jan 2012 13:21:22 +0000 (17:21 +0400)
commitf2a059c44cfb06beb91b42d5e72bda54bb4b421b
tree9291362c7c1fb3b10b19131e16340ff3a807dadc
parent3641d3d336043e78fafb726069b674c23a33916c
IDEA-64049 Git: before commit check if user.name and user.email have been set, otherwise notify

Check if user.name/user.email is defined for all roots affected by commit.
If not, display a dialog where user can defined the properties right away (globally or just for these roots).
plugins/git4idea/src/git4idea/checkin/GitCheckinHandlerFactory.java
plugins/git4idea/src/git4idea/checkin/GitUserNameNotDefinedDialog.java [new file with mode: 0644]
plugins/git4idea/src/git4idea/config/GitConfigUtil.java