Greg KH <gre...@linuxfoundation.org> writes:
> In the Linux kernel tree, commit 0136db586c028f71e7cc21cc183064ff0d5919
> is a bit "odd".
> If I go to look to see what release it was in, I normally do:
> $ git describe --contains 0136db586c028f71e7cc21cc183064ff0d5919
> Any ideas?
That is 59 + 1 + 56 + 1 + 76 = 193 steps away from the tag v3.6-rc1.
$ git name-rev --refs=refs/tags/v3.5-rc1 0136db58
which is 83 + 1 + 81 + 1 + 76 = 242 steps away from that tag.
So it _is_ odd that the newly tagged tip merged a branch that had
smaller development since it merged the commit, but name-rev seems
to be measuring the steps it takes from the tags to reach the commit
and giving us the one that gives the shortest path correctly.
Obviously, that is not the same as "which tag is the oldest one
among the ones that can reach this commit?"
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html