Only do committed files if files have been committed.