def METHOD_NAME(all):
    """Check if large files are committed to Git history."""
    from renku.command.storage import check_lfs_command
    files = check_lfs_command().build().execute(everything=all).output
    if files:
        message = WARNING + "Git history contains large files\n\t" + "\n\t".join(files)
        click.echo(message)
        exit(1)
    else:
        click.secho("OK", fg=color.GREEN)