|
Boost : |
From: Keith Bennett (kanezor_at_[hidden])
Date: 2021-03-19 19:17:35
On Fri, Mar 19, 2021 at 1:00 PM Andrey Semashev via Boost <
boost_at_[hidden]> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk