contrib/rerere-train: use installed git-sh-setup

Instead of sourcing git-sh-setup from random place that is on the $PATH, explicitly source $(git --exec-path)/git-sh-setup. As I do not personally have any libexec/git-core directory on my $PATH like many other people, the script will fail without this update. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Apr 30, 2012 at 12:46 UTC 53876fcf3fdc1c46c26fc3a191e74a06e633d5b2
1 file changed +1 -1
contrib/rerere-train.sh
+1 -1
@@ -7,7 +7,7 @@ USAGE="$me rev-list-args"
7
8 SUBDIRECTORY_OK=Yes
9 OPTIONS_SPEC=
10 -. git-sh-setup
10 +. $(git --exec-path)/git-sh-setup
11 require_work_tree
12 cd_to_toplevel
13