Git: Forbid adding empty branch names

Change-Id: I4f9d65b8293198f409078e739bf047faed544dd6
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Andre Hartmann
2017-03-04 14:36:14 +01:00
committed by André Hartmann
parent 8d5e8f6874
commit 910c384766

View File

@@ -68,6 +68,9 @@ public:
{
Q_UNUSED(pos)
if (input.isEmpty())
return Intermediate;
input.replace(m_invalidChars, "_");
// "Intermediate" patterns, may change to Acceptable when user edits further: