Skip to content

Commit f10031f

Browse files
Nikolay Borisovgitster
authored andcommitted
rebase: fix documentation about used shell in -x
The shell used when using the -x option is erroneously documented to be the one pointed to by the $SHELL environmental variable. This was true when rebase was implemented as a shell script but this is no longer true. Signed-off-by: Nikolay Borisov <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 564d025 commit f10031f

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
@@ -957,10 +957,9 @@ The interactive rebase will stop when a command fails (i.e. exits with
957957
non-0 status) to give you an opportunity to fix the problem. You can
958958
continue with `git rebase --continue`.
959959

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

965964
----------------------------------
966965
$ git rebase -i --exec "make test"

0 commit comments

Comments
 (0)