Fixed handling of git log file.