[LLVMdev] git

John McCall rjmccall at apple.com
Thu Jul 21 10:18:56 PDT 2011

On Jul 21, 2011, at 8:22 AM, Matthieu Moy wrote:
> Joerg Sonnenberger <joerg at britannica.bec.de> writes:
>> The problem is answering the question of "do I have it or not". Linear
>> version numbers are much nicer for that.
> In the presence of branches, the version number alone doesn't answer
> this question, because the commit may be more recent than your HEAD, but
> in another branch.
> git branch --contains <sha1>, on the other hand, will tell you.

Of course, this doesn't actually help if you've cherry-picked commits
over to your branch (e.g. because it's a release branch).

I agree with Joerg;  it's a serious regression, but not a show-stopper.


More information about the llvm-dev mailing list