common/SCMAbstractCommitTask.st
changeset 68 0abe8aeae95a
parent 60 cdffb053cc0f
child 72 66345356fa65
--- a/common/SCMAbstractCommitTask.st	Sat Nov 17 01:11:36 2012 +0000
+++ b/common/SCMAbstractCommitTask.st	Sat Nov 17 01:11:41 2012 +0000
@@ -131,7 +131,7 @@
             ].
             containers := paths
         ] ifTrue:[
-            paths size > 2 ifTrue:[
+            (paths isEmptyOrNil or:[paths size > 2]) ifTrue:[
                 commitLabel := self package name ? ''.
             ] ifFalse:[
                 commitLabel := paths asStringWith:', '
@@ -158,7 +158,7 @@
     "Created: / 11-04-2008 / 09:20:01 / Jan Vrany <vranyj1@fel.cvut.cz>"
     "Modified: / 19-08-2009 / 12:27:44 / Jan Vrany <vranyj1@fel.cvut.cz>"
     "Modified: / 14-03-2012 / 17:42:25 / jv"
-    "Modified: / 15-11-2012 / 16:53:28 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 16-11-2012 / 20:19:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 doCommit: msg files: containers