[llvm-dev] [cfe-dev] [lldb-dev] Sequential ID Git hook
Matthias Braun via llvm-dev
llvm-dev at lists.llvm.org
Thu Jun 30 18:58:21 PDT 2016
> On Jun 30, 2016, at 6:05 PM, Robinson, Paul via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> From: Renato Golin [mailto:renato.golin at linaro.org]
> Sent: Thursday, June 30, 2016 4:15 PM
> To: Robinson, Paul
> Cc: Clang Dev; LLDB Dev; LLVM Dev; Reid Kleckner; llvm-foundation at lists.llvm.org
> Subject: RE: [cfe-dev] [lldb-dev] [llvm-dev] Sequential ID Git hook
> On 30 Jun 2016 10:20 p.m., "Robinson, Paul" <paul.robinson at sony.com> wrote:
>> We've since stopped creating the tags, and gotten used to not having
>> them. We do the 'rev-list --count' trick which mainly gets recorded as
>> one component of the version number, and it has been working for us.
> Does that work for sub modules inside the umbrella project?
I think for each commit on a subprojects we would create 1 commit on the meta project (which switches the submodule reference to that commit on the subproject). That also implies that the ID number (which is just the length of the history) in the meta project increases with each commit in a subproject.
More information about the llvm-dev