Re: [RFC] Zit: the git-based single file content tracker
- Date: Fri, 24 Oct 2008 21:51:29 +0200
- From: "Giuseppe Bilotta" <giuseppe.bilotta@xxxxxxxxx>
- Subject: Re: [RFC] Zit: the git-based single file content tracker
On Fri, Oct 24, 2008 at 9:46 PM, <david@xxxxxxx> wrote:
> On Fri, 24 Oct 2008, Giuseppe Bilotta wrote:
>>
>> 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.)
>> 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.
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'.
--
Giuseppe "Oblomov" Bilotta
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html