Re: rebase --root conflicts with --committer-date-is-author-date
- From
Chris Webb <chris@arachsys.com>
- Date
- Apr 16, 2015, 22:15 UTC
- Message-ID
- <43BA47EB-FA7B-4D33-8ECA-F8051B16E78E@arachsys.com>
- In-Reply-To
- <xmqqwq1h50na.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> Chris, do you remember if there was a reason why it was a bad idea > to teach the normal rebase codepath to handle "--root"? I think we > would have needed to allow "am" to apply a creation patch and start > a new history on an unborn branch in order to do so, but I am not > sure if there was a valid reason why such a change to "am" would > have been a bad idea.
Hi. It's a long time ago, but I don't remember any reason and it feels sensible that am should be able to create an unborn branch in the same way interactive rebase can.
I suspect I had done the necessary work for rebase -i but not for am, and incorrectly assumed that interactive rebase was in any case a superset of non-interactive.
Best wishes,
Chris.