To be plugged in to libgit2. For use in the kioslave and filedigger. Write a test and benchmark the performance.