<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - git-clang-format doesn't detect changes when space in file path (patch included)"
   href="https://llvm.org/bugs/show_bug.cgi?id=28654">28654</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>git-clang-format doesn't detect changes when space in file path (patch included)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Formatter
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>michael.john.kirk@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>djasper@google.com, klimek@google.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16787" name="attach_16787" title="Patch fix from my fork at https://github.com/michaelkirk/clang/commit/4b8958c5d8337ad8b8052a237003a8ad8d6057c4.patch">attachment 16787</a> <a href="attachment.cgi?id=16787&action=edit" title="Patch fix from my fork at https://github.com/michaelkirk/clang/commit/4b8958c5d8337ad8b8052a237003a8ad8d6057c4.patch">[details]</a></span>
Patch fix from my fork at
<a href="https://github.com/michaelkirk/clang/commit/4b8958c5d8337ad8b8052a237003a8ad8d6057c4.patch">https://github.com/michaelkirk/clang/commit/4b8958c5d8337ad8b8052a237003a8ad8d6057c4.patch</a>

git-clang-format was failing to format some of my modified files.

Inspecting the git-clang-format script, I was able to trace it to
"modified_files" including a trailing tab in the file name. e.g. "My
Directory/Foo.m\t", which was ignored on account of ".m\t" being an unknown
extension.

This *may* be because my directory structure includes a space. I *did* test
that the files were properly formatted when renaming "My Directory" to
"MyDirectory" but not when renaming it to "My Other Directory"</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>