Skip to content

Git blame command fails on submodules #74

Description

@armallen

When running the action on a repo that has submodules, git blame -p is ran on updated submodules, which fails with:

Error: could not execute command: git blame -p some/submodule/path. error: Command failed: git blame -p  some/submodule/path

Submodules should probably be ignored by the action.

It did not happen pre-1.3.8 because git blame ${currFile} | grep -n 'sha1\|sha2' | cut -f1 -d was silently ignoring the errors from git blame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions