Skip to content

Improve message on setting exe bit for check-shebang-scripts-are-executable #770

Closed
@mdeweerd

Description

@mdeweerd

Regarding check-shebang-scripts-are-executable

The suggestion when a file is not executable and it is supposed to be is:

 FILE: has a shebang but is not marked executable!
  If it is supposed to be executable, try: `chmod +x FILE`

But chmod +x FILE is not enough in my setup, I have to do git update-index --chmod=+x FILE .

I propose to add that suggestion to output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions