Skip to content

Commit f2e7998

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

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

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

968967
----------------------------------
969968
$ git rebase -i --exec "make test"

0 commit comments

Comments
 (0)