Skip to content

CalledProcessError: Command '['git', 'commit', '-a', '-m', 'Export from Studio at 2022-11-14 12:45:42.693903+00:00']'... #303

@sentry

Description

@sentry

This is more a warning than an error. Can we handle it differently?

Sentry Issue: OPENEDX-RESIDENTIAL-3T4

CalledProcessError: Command '['git', 'commit', '-a', '-m', 'Export from Studio at 2022-11-14 12:45:42.693903+00:00']' returned non-zero exit status 1.
  File "cms/djangoapps/contentstore/git_export_utils.py", line 174, in export_to_git
    cmd_log(['git', 'commit', '-a', '-m', commit_msg], cwd)
  File "cms/djangoapps/contentstore/git_export_utils.py", line 62, in cmd_log
    output = subprocess.check_output(cmd, cwd=cwd, stderr=subprocess.STDOUT)
  File "subprocess.py", line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,

Unable to commit changes: "On branch master\nYour branch is up to date with 'origin/master'.\n\nnothing to commit, working tree clean\n"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions