{"thread":{"id":"30370","subject":"[PATCH] contrib/rerere-train: use installed git-sh-setup","startedAt":"2012-04-30T19:46:30Z","lastAt":"2012-04-30T19:46:30Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"190339","messageId":"7vwr4xdmuh.fsf@alter.siamese.dyndns.org","threadId":"30370","inReplyTo":null,"subject":"[PATCH] contrib/rerere-train: use installed git-sh-setup","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-04-30T19:46:30Z","receivedAt":"2012-04-30T19:46:30Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Instead of sourcing git-sh-setup from random place that is on the $PATH,\nexplicitly source $(git --exec-path)/git-sh-setup.  As I do not personally\nhave any libexec/git-core directory on my $PATH like many other people, the\nscript will fail without this update.\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>\n---\n\n * I recently was helped greatly by this old script written in Sept 2008.\n   We may want to integrate it to \"git rerere\" proper some day, but that\n   is a separate topic.\n\n contrib/rerere-train.sh |    2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/contrib/rerere-train.sh b/contrib/rerere-train.sh\nindex 2cfe1b9..36b6fee 100755\n--- a/contrib/rerere-train.sh\n+++ b/contrib/rerere-train.sh\n@@ -7,7 +7,7 @@ USAGE=\"$me rev-list-args\"\n \n SUBDIRECTORY_OK=Yes\n OPTIONS_SPEC=\n-. git-sh-setup\n+. $(git --exec-path)/git-sh-setup\n require_work_tree\n cd_to_toplevel\n \n-- \n1.7.10.479.g65462\n"}]}