]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.c
sequencer (rebase -i): implement the 'exec' command
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 2 Jan 2017 15:26:47 +0000 (16:26 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jan 2017 22:57:29 +0000 (14:57 -0800)
commit311af5266b27523742e8be9d8297ea475137cfb5
tree89f64758ee9f5d5bde39292681a6cabdb673a9eb
parent56dc3ab04bf0f7bb8c73ebbba47469bdf8be8ac4
sequencer (rebase -i): implement the 'exec' command

The 'exec' command is a little special among rebase -i's commands, as it
does *not* have a SHA-1 as first parameter. Instead, everything after the
`exec` command is treated as command-line to execute.

Let's reuse the arg/arg_len fields of the todo_item structure (which hold
the oneline for pick/edit commands) to point to the command-line.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c