git-gui: Give a better error message on an empty branch name.
commite754d6efe7810f5f2c6cbd48dca21f1bc84a6a5e
authorShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 20:40:55 +0000 (21 15:40 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 22 Jan 2007 03:47:57 +0000 (21 22:47 -0500)
tree4ab5ce5a55e2c4cdb207d7a6532885c5eb80bff4
parent19e283f5c25b64a55fca099342f9bebddef4e17e
git-gui: Give a better error message on an empty branch name.

New branches must have a name.  An empty one is not a valid ref, but the
generic message "We do not like '' as a branch name." is just too vague
or difficult to read.  So detect the missing name early and tell the
user it must be entered.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh