# How can you figure out which commit went into which version of cmake?

**URL:** https://discourse.cmake.org/t/how-can-you-figure-out-which-commit-went-into-which-version-of-cmake/8409
**Category:** Development
**Created:** [June 26, 2023, 4:39pm UTC](https://discourse.cmake.org/t/how-can-you-figure-out-which-commit-went-into-which-version-of-cmake/8409 "2023-06-26T16:39:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shabiel](https://discourse.cmake.org/user_avatar/discourse.cmake.org/shabiel/32/1285_2.png) [@shabiel](https://discourse.cmake.org/u/shabiel)
#### Post date: [June 26, 2023, 4:39pm UTC](https://discourse.cmake.org/t/how-can-you-figure-out-which-commit-went-into-which-version-of-cmake/8409/1 "2023-06-26T16:39:34Z")

</div>

I am specifically looking at this commit: [c0da651c09e11f9868529b7f8c4dc8f97c4546c8](https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4159/diffs?commit_id=c0da651c09e11f9868529b7f8c4dc8f97c4546c8).

Contextually, it looks it went into version 3.16 or 3.17, but I can’t tell which.

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [June 26, 2023, 4:45pm UTC](https://discourse.cmake.org/t/how-can-you-figure-out-which-commit-went-into-which-version-of-cmake/8409/2 "2023-06-26T16:45:47Z")

</div>

It went in 3.27:

```plaintext
$ git describe --contains c0da651c09e11f9868529b7f8c4dc8f97c4546c8
v3.17.0-rc1~162^2

```

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [June 27, 2023, 1:48am UTC](https://discourse.cmake.org/t/how-can-you-figure-out-which-commit-went-into-which-version-of-cmake/8409/3 "2023-06-27T01:48:30Z")

</div>

Other hints that it was 3.17 (without having a local clone):

- the milestone for the MR is `3.17.0`
- the [merge commit](https://gitlab.kitware.com/cmake/cmake/-/commit/c0ac53b90c170e781b085e219dae6cc03cccdfd3) (available towards the end of the MR in the “mentioned in commit …” note) tag listing (requires hitting the `···` button) shows `3.17.0-rc1`, but no 3.16 tags.
