From: Shawn Pearce Date: Sat, 28 Oct 2006 03:42:06 GMT Subject: Re: fetching packs and storing them as packs Message-ID: <20061028034206.GA14044@spearce.org> In-Reply-To: <7v3b99e87c.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > Linus Torvalds writes: [snip] > Can we perhaps have reader-writer lock on the filesystem to > pretect the repository? "prune" can also be made into a writer > for that lock and "fetch-pack --keep" would be a reader for the > lock. That reader-writer lock would solve the issue rather > nicely. > > > That said, I think some of the "git repack -d" logic is also unnecessarily > > fragile. > > Noted; will fix. So a reader-writer lock is preferred over a non-locking solution such as I posted in http://article.gmane.org/gmane.comp.version-control.git/30288 ? Not to mention that such a solution would also fix the -d issue Linus points out above. --