Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'fm/shell-path-whitespace' into maint
author
Jeff King
<peff@peff.net>
Tue, 1 Dec 2015 22:19:37 +0000
(17:19 -0500)
committer
Jeff King
<peff@peff.net>
Tue, 1 Dec 2015 22:19:37 +0000
(17:19 -0500)
Portability fix for Windows, which may rewrite $SHELL variable using
non-POSIX paths.
* fm/shell-path-whitespace:
rebase-i-exec: Allow space in SHELL_PATH
git-rebase--interactive.sh
patch
|
blob
|
history
raw
(from parent 1:
2945adc
)
diff --git
a/git-rebase--interactive.sh
b/git-rebase--interactive.sh
index 30edb179259d634f20649fe7f74df3f0c58f10ec..b938a6d4aa86b5f1e75312188c71cc4b0cdaab23 100644
(file)
--- a/
git-rebase--interactive.sh
+++ b/
git-rebase--interactive.sh
@@
-610,7
+610,7
@@
do_next () {
read -r command rest < "$todo"
mark_action_done
printf 'Executing: %s\n' "$rest"
-
${SHELL:-@SHELL_PATH@}
-c "$rest" # Actual execution
+
"${SHELL:-@SHELL_PATH@}"
-c "$rest" # Actual execution
status=$?
# Run in subshell because require_clean_work_tree can die.
dirty=f