summaryrefslogtreecommitdiff
path: root/contrib/rerere-train.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-04-30 12:46:30 -0700
committerJunio C Hamano <gitster@pobox.com>2012-04-30 12:50:38 -0700
commit53876fcf3fdc1c46c26fc3a191e74a06e633d5b2 (patch)
tree48212eebe155e3b4f6a0f13f3170f2b72c5f9b73 /contrib/rerere-train.sh
parent868d662399786462f87df45c3d68bd5390311a6e (diff)
downloadgit-53876fcf3fdc1c46c26fc3a191e74a06e633d5b2.tar.gz
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>
Diffstat (limited to 'contrib/rerere-train.sh')
-rwxr-xr-xcontrib/rerere-train.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/rerere-train.sh b/contrib/rerere-train.sh
index 2cfe1b936b..36b6feebe0 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-sh-setup
+. $(git --exec-path)/git-sh-setup
require_work_tree
cd_to_toplevel