Re: [RFC] rebase --root: Empty root commit is replaced with sentinel

2014-06-19 Thread Michael Haggerty
On 06/19/2014 02:39 PM, Fabian Ruch wrote: > Hi Michael, > > thanks for your reply. > > On 06/19/2014 01:35 PM, Michael Haggerty wrote: >> On 06/18/2014 02:10 PM, Fabian Ruch wrote: >>> `rebase` supports the option `--root` both with and without `--onto`. >>> The case where `--onto` is not specif

Re: [RFC] rebase --root: Empty root commit is replaced with sentinel

2014-06-19 Thread Fabian Ruch
Hi Michael, thanks for your reply. On 06/19/2014 01:35 PM, Michael Haggerty wrote: > On 06/18/2014 02:10 PM, Fabian Ruch wrote: >> `rebase` supports the option `--root` both with and without `--onto`. >> The case where `--onto` is not specified is handled by creating a >> sentinel commit and squa

Re: [RFC] rebase --root: Empty root commit is replaced with sentinel

2014-06-19 Thread Michael Haggerty
On 06/18/2014 02:10 PM, Fabian Ruch wrote: > `rebase` supports the option `--root` both with and without `--onto`. > The case where `--onto` is not specified is handled by creating a > sentinel commit and squashing the root commit into it. The sentinel > commit refers to the empty tree and does not

[RFC] rebase --root: Empty root commit is replaced with sentinel

2014-06-18 Thread Fabian Ruch
`rebase` supports the option `--root` both with and without `--onto`. The case where `--onto` is not specified is handled by creating a sentinel commit and squashing the root commit into it. The sentinel commit refers to the empty tree and does not have a log message associated with it. Its purpose