Merge branch 'nb/rebase-x-shell-docfix'

Doc update.

* nb/rebase-x-shell-docfix:
  rebase: fix documentation about used shell in -x
This commit is contained in:
Junio C Hamano
2024-01-29 16:02:59 -08:00

View File

@ -966,10 +966,9 @@ The interactive rebase will stop when a command fails (i.e. exits with
non-0 status) to give you an opportunity to fix the problem. You can non-0 status) to give you an opportunity to fix the problem. You can
continue with `git rebase --continue`. continue with `git rebase --continue`.
The "exec" command launches the command in a shell (the one specified The "exec" command launches the command in a shell (the default one, usually
in `$SHELL`, or the default shell if `$SHELL` is not set), so you can /bin/sh), so you can use shell features (like "cd", ">", ";" ...). The command
use shell features (like "cd", ">", ";" ...). The command is run from is run from the root of the working tree.
the root of the working tree.
---------------------------------- ----------------------------------
$ git rebase -i --exec "make test" $ git rebase -i --exec "make test"