From: Daniel Knittl-Frank Date: Sun, 8 Nov 2015 11:27:55 +0000 (+0100) Subject: Escape Git's exec path in contrib/rerere-train.sh script X-Git-Tag: v2.6.4~16^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4573a68e9b340107928194ecb8aba8d803a2ec78;p=thirdparty%2Fgit.git 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 Signed-off-by: Jeff King --- diff --git a/contrib/rerere-train.sh b/contrib/rerere-train.sh index 36b6feebe0..52ad9e41fb 100755 --- a/contrib/rerere-train.sh +++ b/contrib/rerere-train.sh @@ -7,7 +7,7 @@ USAGE="$me rev-list-args" SUBDIRECTORY_OK=Yes OPTIONS_SPEC= -. $(git --exec-path)/git-sh-setup +. "$(git --exec-path)/git-sh-setup" require_work_tree cd_to_toplevel