diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-04-30 19:46:30 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-30 19:50:38 (GMT) |
commit | 53876fcf3fdc1c46c26fc3a191e74a06e633d5b2 (patch) | |
tree | 48212eebe155e3b4f6a0f13f3170f2b72c5f9b73 /contrib | |
parent | 868d662399786462f87df45c3d68bd5390311a6e (diff) | |
download | git-53876fcf3fdc1c46c26fc3a191e74a06e633d5b2.zip git-53876fcf3fdc1c46c26fc3a191e74a06e633d5b2.tar.gz git-53876fcf3fdc1c46c26fc3a191e74a06e633d5b2.tar.bz2 |
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')
-rwxr-xr-x | contrib/rerere-train.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/rerere-train.sh b/contrib/rerere-train.sh index 2cfe1b9..36b6fee 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 |