[PATCH] Fix GetRepositoryPath and GetSourceVersion to work with Git, submodules

Vincent Danjean Vincent.Danjean at ens-lyon.org
Wed Dec 3 05:29:17 PST 2014


  Hi,

  Here is a patch that fix repository path and source version detections
when llvm (or clang, ...) are used as submodules into another project.
Indeed, in this case, .git is a file, not a directory.

  The patch is really simple. If you want to fix the submodule use case
differently, please do so. If you want to discuss with me of this
problem, please CC me as I'm not subscribed (in any case, I will look
at the list archive during a few days)

  Regards,
   Vincent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-GetRepositoryPath-and-GetSourceVersion-to-work-w.patch
Type: text/x-diff
Size: 1734 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141203/1608a6e0/attachment.patch>


More information about the llvm-commits mailing list