On Tue, Dec 24, 2024 at 09:11:04AM +0100, Patrice Dumas wrote:
> On Tue, Dec 24, 2024 at 12:18:03AM +0000, Gavin Smith wrote:
> > 
> > Is there any way to keep the commit dates and dates of ChangeLog entries
> > in order for the new commits?  In the past it has been quite confusing
> > trying to make sense of commits when the dates are out of order and
> > trying to understand when commits were actually made.
> 
> It is possible, but it complicates quite a bit, as this means rewritting
> the history, and after each cherry picking, the branch has to be
> rebased.
> 
> It is possible to change all the dates in the ChangeLog after the whole
> branch has been incorporated.  Should I do that?

Yes please.

  As for the date, that should be the date you applied the change. (With
  a VCS, use the appropriate command-line switches, e.g., git commit
  --date=date.)

https://www.gnu.org/prep/standards/html_node/Style-of-Change-Logs.html#Style-of-Change-Logs


Reply via email to