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

    <tr>
        <th>Summary</th>
        <td>
            git clang-format hangs
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    When I first installed LLVM and integrated git clang-format, it worked fine. But now, a few hours later, I'm trying to run it again and it just hangs, consuming about 10% CPU and slowly growing in memory use.

When I abort, I consistently see the following error message:
 error: `git hash-object -w --path=<path to file> --stdin` failed


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdkU2P2yAQhn8NvoxsEbCTzcGH3aQrRdpKvbQ9YxsMuxgiPmrl33ewt2pVycLMO8MzL8Pgp0f_U0sHN1AmxATGxSSslRO8vf34CsJNKCU5B5FQm02C0Qo318qHRSTCLoDS6sMHZpVxsoGXnMD5taQEKLmC9jlEsAgIRbwRdloghYdxMyQPIbvCELMwbu-X4D2jFY19YjkxehfzUsrF4JF-oIR1cPn2fSuP1q_2AXPwaylByCIXHx6Qo2wIvRL6vK-f90RG2IzfNrCJSbqEgCglJC1BeWt3lAzBB6TFKGZJ-CdmlzEEcqRlIFpEXfvhXY4J6hXq-i6SJvxK-KXsyh2VsQj4grmYJuPwICiB2vSvv2rq-XTmZ1Elk6zs_x_2PpAqB9vrlO6xOGKv-GGhzkMz-gUDa3_9-dX34IsrDE2MWeIwX7vjkbWV7rvTNJw6RVuq5Pl85pS36ji2ByqO7WEcx8qKQdrYk-6FMObwGTcE7kl3rUzPKGP0xChlvONdM7BOsKeOozi0XD2RlsoFb9gUH40PcxX6zdKQ8U1banHs8W9SxGhmJ-XWDvkiJ-1D_-HDVbpq69xvzn8D8-TglA">