author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 21 Jan 2007 20:40:55 +0000 (15:40 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 22 Jan 2007 03:47:57 +0000 (22:47 -0500) | ||
commit | e754d6efe7810f5f2c6cbd48dca21f1bc84a6a5e | |
tree | 4ab5ce5a55e2c4cdb207d7a6532885c5eb80bff4 | tree | snapshot |
parent | 19e283f5c25b64a55fca099342f9bebddef4e17e | commit | diff |
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>
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 | diff | blob | history |