Skip to content

Disable binary file detection for blame #4

@christophelevis

Description

@christophelevis

By default blame command will detect binary files (based on the presence of a NUL character) and skip blame computation:

$ hg blame -w -v --user --date --changeset src/main/java/org/openjdk/jcstress/tests/accessAtomic/arrays/large/plain/CharTest.java
src/main/java/org/openjdk/jcstress/tests/accessAtomic/arrays/large/plain/CharTest.java: binary file

In SonarQube context we expect all files to be text files so we could disable this check by using the -a parameter:
https://selenic.com/hg/help/annotate

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