Skip to content

Make --commit work even if repository has local changes #223

Open
@PhilippWendler

Description

@PhilippWendler

Currently benchexec --commit requires that the repository has no changes (untracked files are ok), otherwise it just does nothing. It should be enhanced to always commit the result files without changing anything else in the repository, and without committing additional files.

I think this is possible by adding the list of files not only to git add, but also to git commit, but we should check whether this guarantees the desired behavior.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions