19 Mar
2021
19 Mar
'21
7:17 p.m.
On Fri, Mar 19, 2021 at 1:00 PM Andrey Semashev via Boost < boost@lists.boost.org> wrote:
If you're trying to put something line "Generated from commit <SHA1>" in the docs, then I don't think you can do this with git, as its commit id depends on the contents. That is, you could do this, but you would have to make a separate commit adding that line, and it would refer to a past commit.
To add on to this point, any squash-merges or rebases run the risk of losing the commit in history unless there's a tag or permanent branch to keep the commit from being pruned for being unreachable. -- Keith Bennett