Skip to content

Commit a0003a5

Browse files
committed
Merge branch 'nb/rebase-x-shell-docfix'
Doc update. * nb/rebase-x-shell-docfix: rebase: fix documentation about used shell in -x
2 parents cf58f59 + f10031f commit a0003a5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Documentation/git-rebase.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -966,10 +966,9 @@ The interactive rebase will stop when a command fails (i.e. exits with
966966
non-0 status) to give you an opportunity to fix the problem. You can
967967
continue with `git rebase --continue`.
968968

969-
The "exec" command launches the command in a shell (the one specified
970-
in `$SHELL`, or the default shell if `$SHELL` is not set), so you can
971-
use shell features (like "cd", ">", ";" ...). The command is run from
972-
the root of the working tree.
969+
The "exec" command launches the command in a shell (the default one, usually
970+
/bin/sh), so you can use shell features (like "cd", ">", ";" ...). The command
971+
is run from the root of the working tree.
973972

974973
----------------------------------
975974
$ git rebase -i --exec "make test"

0 commit comments

Comments
 (0)