johannes added a comment.

In https://reviews.llvm.org/D36686#840827, @arphaman wrote:

> It might be useful to have both source and destination in a different 
> revision. Maybe something like `-src-git-rev` and `-dst-git-rev`?


Then I'd rather have a revision range such as `-git-revs <commit>..<commit>`
and if there is only one specified, then <commit>..HEAD is implied
maybe a different name for the argument

The whole thing is a bit of a hack - if the HEAD is dirty then the checkout 
fails and the program exits.

I want to change it so it does not interfere with the state of the repository. 
I can checkout the revisions in a temporary repository and then patch the paths 
in the compilation database.


https://reviews.llvm.org/D36686



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to