diff options
author | Pratik Karki <predatoramigo@gmail.com> | 2018-09-04 15:00:04 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-11 14:12:45 +0900 |
commit | 68e46d78683bf3cbf707fdad9d95f4cd72cc5dd5 (patch) | |
tree | 51f30b198faee0e34fffa98337178022d79a6600 /builtin/count-objects.c | |
parent | builtin rebase: support `--autostash` option (diff) | |
download | tgif-68e46d78683bf3cbf707fdad9d95f4cd72cc5dd5.tar.xz |
builtin rebase: support `--exec`
This commit adds support for the `--exec` option which takes a shell
command-line as argument. This argument will be appended as an `exec
<cmd>` command after each line in the todo list that creates a commit in
the final history. commands.
Note: while the shell script version of `git rebase` assigned the empty
string to `cmd` by default, we *unset* it here because the code looks
nicer and it does not change the behavior.
The `--exec` option requires `--interactive` machinery.
Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/count-objects.c')
0 files changed, 0 insertions, 0 deletions