Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Astyle to clang format #8464

Merged
merged 2 commits into from
Mar 3, 2022
Merged

Astyle to clang format #8464

merged 2 commits into from
Mar 3, 2022

Commits on Mar 3, 2022

  1. Configuration menu
    Copy the full SHA
    9121332 View commit details
    Browse the repository at this point in the history
  2. Add .git-blame-ignore-revs (esp8266#8464)

    Ignore mass-reformatting commits
    Include the clang-format, and the previous astyle
    
    Based on the idea from black
    https://black.readthedocs.io/en/stable/guides/introducing_black_to_your_project.html#avoiding-ruining-git-blame
    
    To be used with git CLI when exploring some specific file history
    ```
    $ git blame --ignore-revs-file .git-blame-ignore-revs -- file.cpp
    ```
    
    Or, by modifying the config to apply globally
    ```
    $ git config blame.ignoreRevsFile .git-blame-ignore-revs
    ```
    (note that the by default config will apply only for the current repository)
    mcspr committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    9019c28 View commit details
    Browse the repository at this point in the history