contrib/rerere-train: use installed git-sh-setup
commit53876fcf3fdc1c46c26fc3a191e74a06e633d5b2
authorJunio C Hamano <gitster@pobox.com>
Mon, 30 Apr 2012 19:46:30 +0000 (30 12:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Apr 2012 19:50:38 +0000 (30 12:50 -0700)
tree48212eebe155e3b4f6a0f13f3170f2b72c5f9b73
parent868d662399786462f87df45c3d68bd5390311a6e
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>
contrib/rerere-train.sh