Add support for per-commit encoding file.