Method: Gitgo::Git#gc

Defined in:
lib/gitgo/git.rb

#gcObject

Performs ‘git gc’ and resets self so that grit will use the updated pack files. Returns self.



847
848
849
850
# File 'lib/gitgo/git.rb', line 847

def gc
  sandbox {|git,w,i| git.gc }
  reset(true)
end