Re: Unresolved issues #2
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- May 7, 2006, 00:41 UTC
- Message-ID
- <e3jfmh$1vc$1@sea.gmane.org>
- In-Reply-To
- <7vvesirh0q.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
> It might make sense to rewrite it to parse and read the existing > configuration as a whole, do necessary manupulations on the > parsed internal representation in-core, and write the result out > from scratch.
Or perhaps do git repo-config read and change config file in two passes: read and build some kind of index (beginning of section, end of section/last variable in section, number of elements in section), then in second pass add some information if needed.
-- Jakub Narebski Warsaw, Poland