Method: CodeCache::Repo::Git#update_cache
- Defined in:
- lib/code_cache/repo/git.rb
#update_cache(cache_destination) ⇒ Object
52 53 54 55 56 |
# File 'lib/code_cache/repo/git.rb', line 52 def update_cache(cache_destination) output = `GIT_DIR=#{cache_destination} git fetch origin +refs/heads/*:refs/heads/* 2>&1` status = $? == 0 { :output => output, :status => status } end |