only write committer and log if srcdir is available