Re: [RFC] Zit: the git-based single file content tracker
From: <hidden>
Date: 2016-06-15 22:45:31
On Fri, 24 Oct 2008, Giuseppe Bilotta wrote:
On Fri, Oct 24, 2008 at 9:46 PM, [off-list ref] wrote:quoted
On Fri, 24 Oct 2008, Giuseppe Bilotta wrote:quoted
It seems that tags, hooks, branches and description can be done with.do you mean 'can be done away with'?Ahem. Yes. I've got a patch ready for zit that gets rid of them. (A smarter way would be to create a template, but I'm not smart.)quoted
quoted
info contains exclude which is rather essential,is it? by default everything in this file is commented out. And with you only adding files explicitly why would it ever need to excluded anything?Zit does echo "*" > $GIT_DIR/info/exclude and yes it sucks to use a whole block for a file that only contains one character. Suggestions welcome.
can this be configured in the config file?
The reason why we want the exclude is that when you do zit status somefile you don't want every other file in the directory to come up as 'not tracked'.
good point. David Lang