[cfe-dev] git-clang-format

Tim Northover t.p.northover at gmail.com
Sun Feb 8 12:27:26 PST 2015


> With the former, it doesn't work on windows, whereas with the latter it
> does.  I renamed the file to git-clang-format.py and tested it out on
> Windows, and it works great.  So if there's no objection I think we should
> rename the file.

I vaguely object. When you run "git XYZ", git will see if there's a
binary "git-XYZ" in $PATH and use that if available. Renaming
git-clang-format makes this worse (you'd need to actually type "git
clang-format.py").

A very minor point, but then so is the Windows issue; we'd really just
be trading one platform's usability for another.

Cheers.

Tim.



More information about the cfe-dev mailing list