{"thread":{"id":"30483","subject":"git rebase --committer-date-is-author-date with -i/-p","startedAt":"2012-05-09T12:36:56Z","lastAt":"2012-05-10T11:33:30Z","messageCount":2,"participants":["Philippe Vaucher"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"191194","messageId":"CAGK7Mr7S42r_Xx0qygRCp+EujuuBF1MT1Y0vqCY+=EBT5++Urw@mail.gmail.com","threadId":"30483","inReplyTo":null,"subject":"git rebase --committer-date-is-author-date with -i/-p","fromName":"Philippe Vaucher","fromEmail":"philippe.vaucher@gmail.com","sentAt":"2012-05-09T12:36:56Z","receivedAt":"2012-05-09T12:36:56Z","isPatch":false,"sender":{"key":"philippe.vaucher@gmail.com","avatar":null},"body":"Hi,\n\nWhy doesn't git rebase support --committer-date-is-author-date with\nthe -i or -p flag?\n\nThe only workaround I found so far was to rebase anyway then use `git\nfilter-branch` to set GIT_COMMITER_DATE to GIT_AUTHOR_DATE for all\ncommits, but this is far from optimal as it completely loses the\noriginal GIT_COMMITER_DATE.\n\nThe use case for this is heavy history rewriting for very ancient\ncommits, squashing a range of old commits togethers. The commit date\nbeing modified leads to trouble with tools that rely on it.\n\nIs there a better workaround?\n\nThanks,\nPhilippe\n"},{"id":"191278","messageId":"CAGK7Mr4sJGjPn-6QjM2Mmev-JxnSYfNAtTVofLrandMeyaUc3w@mail.gmail.com","threadId":"30483","inReplyTo":"CAGK7Mr7S42r_Xx0qygRCp+EujuuBF1MT1Y0vqCY+=EBT5++Urw@mail.gmail.com","subject":"Re: git rebase --committer-date-is-author-date with -i/-p","fromName":"Philippe Vaucher","fromEmail":"philippe.vaucher@gmail.com","sentAt":"2012-05-10T11:33:30Z","receivedAt":"2012-05-10T11:33:30Z","isPatch":false,"sender":{"key":"philippe.vaucher@gmail.com","avatar":null},"body":"I see that it's probably possible to make it work by changing\n`do_with_author` in git-rebase--interactive.sh, if I manage to add the\noption to it and pass it from git-rebase.sh would people be interested\nin this feature?\n\nPhilippe\n"}]}