Hi All, I noticed that the template sample hooks were a) using shell conventions that may not work under /bin/sh on all platforms and b) using the old git-foo calling conventions in some, but not all, cases. The following two patches rectify this. The build system will now substitute SHELL_PATH and PERL_PATH into files under templates/ so that the templates use the same tools as the rest of git. Ben Walton (2): Make templates honour SHELL_PATH and PERL_PATH Modernize git calling conventions in hook templates Makefile | 2 +- templates/Makefile | 17 +++++++++++++++-- templates/hooks--commit-msg.sample | 2 +- templates/hooks--post-update.sample | 2 +- templates/hooks--pre-commit.sample | 4 ++-- templates/hooks--pre-rebase.sample | 20 ++++++++++---------- templates/hooks--prepare-commit-msg.sample | 6 +++--- templates/hooks--update.sample | 4 ++-- templates/info--exclude | 2 +- 9 files changed, 36 insertions(+), 23 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html