Re: Using trees for metatagging
- From
- martin f krafft <madduck@madduck.net>
- Date
- Feb 18, 2010, 23:25 UTC
- Message-ID
- <20100218232523.GD22371@lapse.rw.madduck.net>
- In-Reply-To
- <32541b131002181506v1d28526cpf8491994868272af@mail.gmail.com>
also sprach Avery Pennarun <apenwarr@gmail.com> [2010.02.19.1206 +1300]:
Show 10 quoted lines
> > I am aware of notes, but so far I stayed away from them, simply > > because it seems hackish to represent tag trees as text when dealing > > with a tool that is essentially all about trees and refs. > > I think you're using the wrong definition of hacky vs. elegant. A > "tree" is really just a file containing a list of objects. A "ref" is > just a file that contains an object id. > > So checking in a file that contains a list of object ids (or > filenames) is perfectly appropriate.
Indeed. But Git provides a lot of tools to manipulate all those, which I would not be able to reuse in the text-file approach.
--
martin | http://madduck.net/ | http://two.sentenc.es/
"good advice is something a man gives
when he is too old to set a bad example.
-- la rouchefoucauld
spamtraps: madduck.bogus@madduck.net