[LLVMdev] git

Matthieu Moy Matthieu.Moy at grenoble-inp.fr
Thu Jul 21 08:22:15 PDT 2011

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.

Matthieu Moy

More information about the llvm-dev mailing list