Re: error: could not parse 'Drop' when rebasing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jarno

On 26/03/2025 10:43, Jarno Suni wrote:
On Wed, Mar 26, 2025 at 12:20 PM Phillip Wood <phillip.wood123@xxxxxxxxx> wrote:

It appears that the object id for the commit got deleted when the
command was changed from "pick" to "reword" and so git does not know
which commit this line is referring to. The commit subject is there for
the benefit of the user not for git - after all many commits could share
the same subject.

The error appeared first time in the rebase after I changed the command
from pick to drop (or d for short.) I had never used d  before but I have
used e many times without an issue. Even the d command worked after I
edited the commit message title (in new rebase). So I suspect that there
is something in wrong in parsing d command.

I'm not sure that explains why the commit object id is missing. If you are able to reproduce this bug and show the edited todo-list with the drop commands and the errors produced by that todo-list that would be very helpful. Without that it is hard to tell what's happening here.

Thanks

Phillip




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux