GitSourceCodeManager.st
branchjv
changeset 4054 e1d270d3c382
parent 4053 7817fc8db06e
parent 4049 7cc69ea18451
child 4384 e28fcaaf93c7
--- a/GitSourceCodeManager.st	Thu Jun 02 09:19:54 2016 +0100
+++ b/GitSourceCodeManager.st	Mon Jun 06 12:32:59 2016 +0100
@@ -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.