git/GitCheckoutStrategy.st
changeset 12 59d59fc32b71
child 29 621143a76ec5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/git/GitCheckoutStrategy.st	Wed Sep 19 18:10:20 2012 +0000
@@ -0,0 +1,33 @@
+"{ Package: 'stx:libscm/git' }"
+
+SharedPool subclass:#GitCheckoutStrategy
+	instanceVariableNames:''
+	classVariableNames:'GIT_CHECKOUT_DEFAULT GIT_CHECKOUT_OVERWRITE_MODIFIED
+		GIT_CHECKOUT_CREATE_MISSING GIT_CHECKOUT_REMOVE_UNTRACKED
+		GIT_CHECKOUT_NONE'
+	poolDictionaries:''
+	category:'SCM-Git-Internal-Constants'
+!
+
+
+!GitCheckoutStrategy class methodsFor:'initialization'!
+
+initialize
+    "Invoked at system start or when the class is dynamically loaded."
+
+    GIT_CHECKOUT_DEFAULT :=             1.
+    GIT_CHECKOUT_OVERWRITE_MODIFIED :=  2.
+    GIT_CHECKOUT_CREATE_MISSING :=      4.
+    GIT_CHECKOUT_REMOVE_UNTRACKED :=    8.
+    GIT_CHECKOUT_NONE := GIT_CHECKOUT_DEFAULT. "/ more meaningfull alias
+
+    "Modified: / 19-09-2012 / 18:35:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!GitCheckoutStrategy class methodsFor:'documentation'!
+
+version_SVN
+    ^ '$Id::                                                                                                                        $'
+! !
+
+GitCheckoutStrategy initialize!