From: Junio C Hamano Date: Tue, 01 Feb 2011 21:29:08 GMT Subject: Re: [PATCH 3/3] vcs-svn: Refactor dump_export code into dispatch table Message-ID: <7vd3nbzbob.fsf@alter.siamese.dyndns.org> In-Reply-To: <20110201174241.GB3771@burratino> Jonathan Nieder writes: > Heh. I think that Junio was suggesting making the _parser_ > table-driven, meaning something like > > ... node_kinds[] = { > { "100644", sizeof("100644"), "file" }, > ... > }; Yes, and thanks.