aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-02-13 14:44:49 -0800
committerJunio C Hamano <gitster@pobox.com>2024-02-13 14:44:49 -0800
commitf2e799861395260675bed96282259205e51b926f (patch)
tree2e979c3ec423b244ebdbf58ef394db8f3b85a83c
parent29282502184486138db893164963aece02aea98c (diff)
parentf10031fadd92e1937c7fae0e9a44801d9f832e9e (diff)
downloadgit-f2e799861395260675bed96282259205e51b926f.tar.gz
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
-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 150734fb39..af05708be7 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -960,10 +960,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"