class GitThin::Fetch
Public Class Methods
new(argv)
click to toggle source
Calls superclass method
GitThin::Thin::new
# File lib/git-thin/command/clone.rb, line 12 def initialize(argv) super if @verbose @verbose = LOGC|LOGN end end
Public Instance Methods
run()
click to toggle source
# File lib/git-thin/command/clone.rb, line 19 def run shell_ret = 0 run_shell "git -C #{@source_root} clone --filter=blob:none --sparse "+@argv_remainder.join(' '),false ,LOGPRUNE|LOGC do |outs,errs,status| shell_ret = status end if shell_ret != 0 exit(shell_ret+100) end end