git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git rebase --committer-date-is-author-date with -i/-p
@ 2012-05-09 12:36 Philippe Vaucher
  2012-05-10 11:33 ` Philippe Vaucher
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Vaucher @ 2012-05-09 12:36 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-10 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-09 12:36 git rebase --committer-date-is-author-date with -i/-p Philippe Vaucher
2012-05-10 11:33 ` Philippe Vaucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).