Re: [RFC] Zit: the git-based single file content tracker
- From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- Date
- Oct 25, 2008, 07:48 UTC
- Message-ID
- <cb7bb73a0810250048q7ad8595bt565de05ec2ec37cb@mail.gmail.com>
- In-Reply-To
- <200810242230.49238.jnareb@gmail.com>
On Fri, Oct 24, 2008 at 10:30 PM, Jakub Narebski <jnareb@gmail.com> wrote:
Show 7 quoted lines
> Well, with all zit repositories in '.zit/' directory (similar to RCS/) > you could have point core.excludesfile to _common_ '.zit/excludes'; > the pattern doesn't change from zit repository to zit repository? > > You could even use per-user ~/.zitignore (I'm not sure if git expands > '~' in paths; there was some patch for it, but was it accepted?) or > system-wide /usr/lib/zitignore or /usr/libexec/zitignore file.
System-wide means maximum space save, but it require system administration to install Zit, and considering that one of the things I love of Zit now is its being self contained, I would rather not depend on anything system-wide anyway.
The user .zitignore file is probably the best approach: we can create it ourselves (usually), and even if Git doesn't expand the pathname itself, we can just use an absolute path. I'll go that way.
-- Giuseppe "Oblomov" Bilotta