<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/74165>74165</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            `git clang-format --binary` does not always work
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-format
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            owenca
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          owenca
      </td>
    </tr>
</table>

<pre>
    ```
$ git clang-format --binary build_ninja/bin/clang-format HEAD~
clang-format did not modify any files
$ cd build_ninja
$ git clang-format --binary bin/clang-format HEAD~
error: cannot find executable "bin/clang-format"
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMkduq2zwQhZ9mdCMc5LF8utBFfvKbvkXRyY52ZWkjyU1902cvTlI2aWkpCAYGzfoWa8mc3RKsFdD-B4jxZoOWgAjthcitXGMSjx1R0ewCOvZ87ALsDMjp4grVXoalmmNaZaFVpVyQaadqc958Di68ScBJuQA4vfz89P_58v2h9LI3ztAQC12jcfNOZdjp7LzNH1BtXtT_xcxf8TalmKA5Uy3DQZ5dMNR-s3orUnlLAfF3gSOmB_lnKsSIxozNKIkVdc9qPvB-aMlVcI5GjsqM9cDNOI5NX2s03cDbQSE2I3ECGTY1smOMvD21NXbazKw2DLnsW-DMrtL5k_df11NMC3E5b1b0vO5a4qWyPj9L_NVjeyFJHGeV2pYMnHmXS_4QKq54e1T7x_SgY9REm--tSH-Te6a3mL6QLXlxLeU9Q3MGnACnxZXrpk46roDTgXiO6j3FN6sL4HQ3ngGnu_cfAQAA__8H2MqT">