commit | d63060fc9546e2132d0ad7791beb795906372e86 | [log] [tgz] |
---|---|---|
author | Nico Sallembien <nsallembien@google.com> | Wed Jan 20 10:27:50 2010 -0800 |
committer | Nico Sallembien <nsallembien@google.com> | Wed Jan 20 10:27:50 2010 -0800 |
tree | 9b0241a1b609cc1563582e6664e3df27732de3af | |
parent | b6ea3bfcc398417b91a4fa5a486324f4d904b022 [diff] |
Check that we are not overwriting a local repository when syncing. If a local git repository exists within the same folder as a new project that is added, when the user syncs the repo, the sync will overwrite the local files under the project's .git repository with its own symlinks. Make sure that we do not overwrite 'normal' files in repo and throw an error when that happens.