[PATCH] D36686: [clang-diff] Add option to compare files across git revisions

Johannes Altmanninger via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 14 09:04:45 PDT 2017


johannes created this revision.

This adds a command line option "-git-rev=<commit>".
When it is used, only one filename is accepted.  The file in its version
in the specified revision is compared against the current version. Note
that this calls `git checkout` in the current directory.


https://reviews.llvm.org/D36686

Files:
  tools/clang-diff/ClangDiff.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36686.110991.patch
Type: text/x-patch
Size: 3584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170814/8a24950f/attachment.bin>


More information about the cfe-commits mailing list