[PATCH v2 4/4] clone --dissociate: avoid locking pack files

2015-10-05 Thread Johannes Schindelin
When `git clone` is asked to dissociate the repository from the reference repository whose objects were used, it is quite possible that the pack files need to be repacked. In that case, the pack files need to be deleted that were originally hard-links to the reference repository's pack files. On

Re: [PATCH v2 4/4] clone --dissociate: avoid locking pack files

2015-10-05 Thread Junio C Hamano
Johannes Schindelin writes: > diff --git a/builtin/clone.c b/builtin/clone.c > index 578da85..cc896e2 100644 > --- a/builtin/clone.c > +++ b/builtin/clone.c > @@ -1064,8 +1064,10 @@ int cmd_clone(int argc, const char **argv, const char > *prefix) >