efriedma added a comment.
We should probably encourage people to use git-clang-format with git
repositories. It naturally doesn't have this sort of fragility because it
integrates with the repository more tightly.
Comment at: clang/tools/clang-format/clang-format-diff.py:41
ctetreau added a comment.
I considered trying to find a way to work around the issue. Something like "if
the file is not found, and the current directory is `/foo/bar/`, and the
computed filename is `bar/baz.c`, then use `/foo/bar/baz.c`". But I don't think
there's any way we can reliably know
ctetreau created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
ctetreau added reviewers: djasper, alexfh.
ctetreau added a comment.
I considered trying to find a way to work around the issue. Something like "if
the file is not found, and the current directo