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