diff options
author | Stephen Hines <srhines@google.com> | 2016-11-08 05:50:14 +0000 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2016-11-08 05:50:14 +0000 |
commit | 171244fb7af5b3ac308238820578bbddd7bb1709 (patch) | |
tree | 8e77830f27585f208ca397b13355c8d2ec1fc5d6 /llvm/tools/llvm-dis/llvm-dis.cpp | |
parent | 62f99cc4864364d6bd01321a4dccb4466618a318 (diff) | |
download | bcm5719-llvm-171244fb7af5b3ac308238820578bbddd7bb1709.tar.gz bcm5719-llvm-171244fb7af5b3ac308238820578bbddd7bb1709.zip |
clang-format: Use git-ls-tree to get file mode in diff mode
Summary:
If a file has been renamed/deleted from the filesystem and --diff mode
with two commits is active, attempting to get the file's mode will fail.
This change uses git-ls-tree instead to get the correct permissions for
the given revision.
Patch by Luis Hector Chavez!
Reviewers: djasper, lodato
Subscribers: srhines, cfe-commits
Differential Revision: https://reviews.llvm.org/D26287
llvm-svn: 286212
Diffstat (limited to 'llvm/tools/llvm-dis/llvm-dis.cpp')
0 files changed, 0 insertions, 0 deletions