c&d: po4a (& git) revisited, revisit
[software/sisu] / lib / sisu / current / git.rb
index f9723186170ad2b9e255ce0613c0fb863b5658f2..0ec3520b273b71b56fe5bee5d5615476a5c8380c 100644 (file)
@@ -59,8 +59,8 @@ module SiSU_Git
   require_relative 'se'                                 # se.rb
   require_relative 'ao'                                 # ao.rb
   class Source
-    def initialize(opt)
-      @opt=opt
+    def initialize(opt,process=:complete)
+      @opt,@process=opt,process
       @env=SiSU_Env::InfoEnv.new
       @md=SiSU_Param::Parameters.new(@opt).get
       @file=SiSU_Env::FileOp.new(@md)
@@ -88,7 +88,7 @@ module SiSU_Git
         video:     git_path_fnb + '/' + Gt[:sisupod] + '/' + Gt[:video],
         conf:      git_path_fnb + '/' + Gt[:sisupod] + '/' + Gt[:conf]
       }
-      SiSU_AO::Source.new(@opt).read                                         # -m
+      SiSU_AO::Source.new(@opt,nil,@process).read                            # -m
     end
     def create_file_structure_git
       make_dir_fnb