aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-rebase.txt
diff options
context:
space:
mode:
authorNikolay Borisov <nik.borisov@suse.com>2024-01-17 10:53:47 +0200
committerJunio C Hamano <gitster@pobox.com>2024-01-17 16:14:57 -0800
commitf10031fadd92e1937c7fae0e9a44801d9f832e9e (patch)
treef4c671e78356f507adb59d04685220128690d208 /Documentation/git-rebase.txt
parent564d0252ca632e0264ed670534a51d18a689ef5d (diff)
downloadgit-f10031fadd92e1937c7fae0e9a44801d9f832e9e.tar.gz
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 <nik.borisov@suse.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-rebase.txt')
-rw-r--r--Documentation/git-rebase.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index b4526ca246..8a95b5d7ab 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -957,10 +957,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
continue with `git rebase --continue`.
-The "exec" command launches the command in a shell (the one specified
-in `$SHELL`, or the default shell if `$SHELL` is not set), so you can
-use shell features (like "cd", ">", ";" ...). The command is run from
-the root of the working tree.
+The "exec" command launches the command in a shell (the default one, usually
+/bin/sh), so you can use shell features (like "cd", ">", ";" ...). The command
+is run from the root of the working tree.
----------------------------------
$ git rebase -i --exec "make test"