Re: Feature idea: git rebase --exec $CMD

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

 



Antonio Ospite <ospite@xxxxxxxxxxxxxxxxx> writes:

> Maybe this -x option should conflict with -i to simplify its "execute
> the command after each commit" semantics (what if it is combined with -i
> and 'x/exec' lines?).

Actually, implementation-wise, it's simpler to have '-x' imply '-i', and
suggest a todo-list containing 'x' lines. Then, the code would simply
have to add these "x whatever" lines, and let the
"git-rebase--interactive.sh" mechanics do the job. That would show the
"x whatever" lines to the user, but that can be seen as added value,
since it gives an opportunity to the user to remove or edit some of them
if needed.

I'm not familiar with the code behind non-interactive rebase, but it
doesn't seem to use the same todo-list at all. Maybe the sequencer would
help, I don't know.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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]