Thread (2 messages) flat view 2 messages, 1 author, 2016-06-15

git rebase --committer-date-is-author-date with -i/-p

From: Philippe Vaucher <hidden>
Date: 2016-06-15 22:53:47

Hi,

Why doesn't git rebase support --committer-date-is-author-date with
the -i or -p flag?

The only workaround I found so far was to rebase anyway then use `git
filter-branch` to set GIT_COMMITER_DATE to GIT_AUTHOR_DATE for all
commits, but this is far from optimal as it completely loses the
original GIT_COMMITER_DATE.

The use case for this is heavy history rewriting for very ancient
commits, squashing a range of old commits togethers. The commit date
being modified leads to trouble with tools that rely on it.

Is there a better workaround?

Thanks,
Philippe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help