It looks like we can also borrow routines directly from git, off of which
it appears config.c was initial based:

http://git.zx2c4.com/git/tree/config.c

In fact, what about reworking our config in general to use git's system?
This would involve supporting both our:

repo.blah = val

syntax as well as

[repo]
blah = val

which might be a little bit nice.

http://git.zx2c4.com/git/tree/config.c#n898

git_config_from_file might be a possibility.

We'd get nice escaping too.
_______________________________________________
CGit mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to