From: Giuseppe Bilotta Date: Thu, 23 Oct 2008 13:28:11 GMT Subject: Re: [RFC] Zit: the git-based single file content tracker Message-ID: In-Reply-To: <49007623.1060606@viscovery.net> On Thu, Oct 23, 2008 at 3:03 PM, Johannes Sixt wrote: > Giuseppe Bilotta schrieb: >> Zit will create a directory .zit.file to hold a git repository >> tracking the single file .zit.file/file, which is just a hard link to >> file. > > git breaks hard links, mind you! (Just in case you check out older > versions and you wonder why your "real" file is not updated). > > But there's a recent patch by Dscho floating around that takes care of the > hard link case. I feared that the hardlink choice was not the best one. I would definitely prefer finding a solution that didn't depend on hardlinks: not only there would be no worry about breaking them, it'd also be more portable. -- Giuseppe "Oblomov" Bilotta