testmycode/tmc-server — Issue #68: Don't clone entire repo on refresh
Author: mpartel
Created: 2012-01-19 16:33:37+00:00
State: open
Labels: enhancement, important

Refreshes should only fetch new objects.

Proposed solution: copy `.git` from previous version, ensure remote path is correct and then `git fetch origin && git reset --hard origin/`. Test that falling back to cloning in case of error works.