Don't eagerly prompt the user with an error message when creating
commit3236fe48a1b7b54124b6a11c187b3f1910a60e06
authorRemy Suen <remysuen@ca.ibm.com>
Sun, 18 Apr 2010 18:49:40 +0000 (18 14:49 -0400)
committerChris Aniszczyk <caniszczyk@gmail.com>
Tue, 20 Apr 2010 14:52:06 +0000 (20 09:52 -0500)
tree91a762fd02e1f895fa6680c3c1d97a8449850bb7
parentcbcf8aa05b08802b0c8af5c6432d53789c3f928b
Don't eagerly prompt the user with an error message when creating
or renaming a branch.

It is bad form to prompt the user with an error message before
they have actually entered any data. The input validator for
the branch naming text field is too aggressive with its warning.
It should only prompt when the user has actually entered data
into the text field.

Change-Id: I41e5ebd0e2c041a160fef13d31c6c7e9f98cabd1
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/BranchSelectionDialog.java