Skip to content

Commit 4573a68

Browse files
knittlpeff
authored andcommitted
Escape Git's exec path in contrib/rerere-train.sh script
Whitespace can cause the source command to fail. This is usually not a problem on Unix systems, but on Windows Git is likely to be installed under "C:/Program Files/", thus rendering the script broken. Signed-off-by: Daniel Knittl-Frank <[email protected]> Signed-off-by: Jeff King <[email protected]>
1 parent af40944 commit 4573a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/rerere-train.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ USAGE="$me rev-list-args"
77

88
SUBDIRECTORY_OK=Yes
99
OPTIONS_SPEC=
10-
. $(git --exec-path)/git-sh-setup
10+
. "$(git --exec-path)/git-sh-setup"
1111
require_work_tree
1212
cd_to_toplevel
1313

0 commit comments

Comments
 (0)