diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-02-14 14:28:07 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-02-14 15:25:55 +0000 |
commit | d3374f09b980f59b32d84cedc7d9611286b99416 (patch) | |
tree | ca1e76b31d7f0ed5330e80c8ab57604809f6be0a /tests | |
parent | 2c1fb6748a746b2a0796cd26fef6cd4cb4ae7123 (diff) | |
download | morph-d3374f09b980f59b32d84cedc7d9611286b99416.tar.gz |
Switch to caching repos without checking them out.
This is almost as good as --bare. But unlike --bare, it properly sets up
the 'origin' remote and creates the 'refs/remotes/origin/...' branches.
When cloning with --bare, and you end up with "refs/heads/master", not
"/refs/remotes/origin/master". You can re-add the remote 'origin', still
no "refs/remotes/origin/master". Only after you update the remote (after
re-adding it), the bare clone has "refs/remotes/origin/master"... and a
"refs/heads/master" that is out of sync. An ugly mix, basically.
So maybe this approach is better.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions