Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 53876fc

Browse files
committed
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 <[email protected]>
1 parent 868d662 commit 53876fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/rerere-train.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ USAGE="$me rev-list-args"
77

88
SUBDIRECTORY_OK=Yes
99
OPTIONS_SPEC=
10-
. git-sh-setup
10+
. $(git --exec-path)/git-sh-setup
1111
require_work_tree
1212
cd_to_toplevel
1313

0 commit comments

Comments
 (0)