Re: [RFC] Zit: the git-based single file content tracker
- From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- Date
- Oct 23, 2008, 13:28 UTC
- Message-ID
- <cb7bb73a0810230628l22871f3bj26cd825e2de99ff9@mail.gmail.com>
- In-Reply-To
- <49007623.1060606@viscovery.net>
On Thu, Oct 23, 2008 at 3:03 PM, Johannes Sixt <j.sixt@viscovery.net> wrote:
Show 10 quoted lines
> 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