GitSourceCodeManager.st
changeset 4049 7cc69ea18451
parent 4043 0a798a9143dd
child 4054 e1d270d3c382
child 4221 cee13a0ac0d8
--- a/GitSourceCodeManager.st	Fri Jun 03 11:46:39 2016 +0200
+++ b/GitSourceCodeManager.st	Fri Jun 03 11:50:34 2016 +0200
@@ -65,10 +65,17 @@
     DisabledModules := nil.
 !
 
+gitCommandSemaphore
+    GitCommandSemaphore isNil ifTrue:[
+        GitCommandSemaphore := (Semaphore new:10) name:'Concurrent GIT Commands'.    "/ at most 10 git activities concurrently
+    ].
+    ^ GitCommandSemaphore
+!
+
 initialize
     | s |
 
-    GitCommandSemaphore := (Semaphore new:10) name:'Concurrent GIT Commands'.    "/ at most 10 git activities concurrently
+    "/ GitCommandSemaphore := (Semaphore new:10) name:'Concurrent GIT Commands'.    "/ at most 10 git activities concurrently
     GitCommitOptions := ''.
     GitUpdateOptions := ''.
     DisabledModules := nil.