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

Robinson, Paul Paul_Robinson at playstation.sony.com
Wed Dec 3 14:41:04 PST 2014


I'm not familiar with git submodules per se, but this change won't affect 
the normal operation of the scripts, so LGTM.
--paulr

> -----Original Message-----
> From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-
> bounces at cs.uiuc.edu] On Behalf Of Vincent Danjean
> Sent: Wednesday, December 03, 2014 5:29 AM
> To: llvm-commits at cs.uiuc.edu
> Subject: [PATCH] Fix GetRepositoryPath and GetSourceVersion to work with
> Git, submodules
> 
>   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




More information about the llvm-commits mailing list