Eric Wong <normalperson@xxxxxxxx> writes: > Many months ago, I thought about implementing a transparent caching layer > in Git.pm to work with git configs. Of course, that requires > cooperation from all readers/writers within the process... Done > correctly, it would help more than just git-svn. too. Take a look how gitweb uses "git config -z -l" to read all config in one go, and save it to hash for later use, lazily. > I think I had this idea around the time we made git-config output Perl > hashes and arrays. This is an alternate solution, better for simple scripts and one-off scripts (you don't need to write "git config -z -l" parser), but I think that additional eval might be not good for performance. -- Jakub Narebski Poland ShadeHawk on #git - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html