commit | 3ed0bd727bceaa979e2caa4f99d390bed86f8444 | [log] [tgz] |
---|---|---|
author | Saša Živkov <sasa.zivkov@sap.com> | Mon Feb 23 14:11:20 2015 +0100 |
committer | Saša Živkov <sasa.zivkov@sap.com> | Mon Feb 23 15:38:42 2015 +0100 |
tree | fab222a32706866fb2225f8268acc12dd3a49175 | |
parent | 34793a8431533647acbdd5c21e4bb625ec7ff120 [diff] |
Lock the target repository even before it is initialized. Instead of relying on the "git init" to fail when the repository is already created from another thread, create the repository lock before the "git init" and let any other thread fail nicely. Change-Id: I17e15e46ec761980a7b503d58b1f5d8e5b7ccfc3