Re: [PATCH v2 0/4] fix "rebase -i --root" corrupting root commit
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Aug 7, 2018, 03:31 UTC
- Message-ID
- <CAPig+cT0ATgRMY-mhttViaburFW37G352BX=mj-Cnr2_wZruaQ@mail.gmail.com>
- In-Reply-To
- <CAE1pOi3+FW8itk4AHhG+r02TGyGTeoZpq7S6HKXkQtOVqigWGQ@mail.gmail.com>
On Mon, Aug 6, 2018 at 9:20 PM Hilco Wijbenga <hilco.wijbenga@gmail.com> wrote:
Show 7 quoted lines
> But your suggestion did make me think about what behaviour I would > like to see, exactly. I like that Git removes commits that no longer > serve any purpose (because I've included their changes in earlier > commits). So I would not want to keep commits that become empty during > the rebase. What I would like to see is that commits that _start out_ > as empty, are retained. Would such behaviour make sense? Or would that > be considered surprising behaviour?
I, personally, have no opinion since I don't use empty commits. Perhaps someone more experienced and more long-sighted will chime in.