summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Expand)AuthorFilesLines
2017-07-12hook: add a simple first exampleLibravatar Kaartic Sivaraam1-3/+6
2017-07-12hook: add sign-off using "interpret-trailers"Libravatar Kaartic Sivaraam1-1/+5
2017-07-12hook: name the positional variablesLibravatar Kaartic Sivaraam1-3/+6
2017-07-12hook: cleanup scriptLibravatar Kaartic Sivaraam1-14/+10
2016-10-28pre-receive.sample: mark it executableLibravatar Anders Kaseorg1-0/+0
2016-07-14push options: {pre,post}-receive hook learns about push optionsLibravatar Stefan Beller1-0/+24
2016-02-26Merge branch 'ma/update-hooks-sample-typofix'Libravatar Junio C Hamano1-1/+1
2016-02-25templates/hooks: fix minor typo in the sample update-hookLibravatar Martin Amdisen1-1/+1
2015-05-11Merge branch 'nd/multiple-work-trees'Libravatar Junio C Hamano2-4/+4
2014-12-22pre-push.sample: remove unnecessary and misleading IFS=' 'Libravatar Jim Hill1-1/+0
2014-12-01*.sh: avoid hardcoding $GIT_DIR/hooks/...Libravatar Nguyễn Thái Ngọc Duy2-4/+4
2014-09-11pre-push.sample: Write error message to stderrLibravatar W. Trevor King1-1/+1
2013-09-24sample pre-commit hook: use --bool when retrieving config varLibravatar Johan Herland1-1/+1
2013-09-03Merge branch 'maint-1.8.3' into maintLibravatar Junio C Hamano1-0/+1
2013-08-30fix shell syntax error in templateLibravatar Thorsten Glaser1-0/+1
2013-07-15templates: spell ASCII in uppercase in pre-commit hookLibravatar Richard Hartmann1-3/+3
2013-07-15templates: Reformat pre-commit hook's messageLibravatar Richard Hartmann1-4/+2
2013-07-15templates: Use heredoc in pre-commit hookLibravatar Richard Hartmann1-12/+13
2013-06-11pre-push.sample: Make the script executableLibravatar Wieland Hoffmann1-0/+0
2013-02-24templates/hooks--update.sample: use a lowercase "usage:" stringLibravatar David Aguilar1-1/+1
2013-01-18Add sample pre-push hook scriptLibravatar Aaron Schrab1-0/+53
2011-10-26Merge branch 'maint-1.7.6' into maintLibravatar Junio C Hamano1-2/+6
2011-10-26make the sample pre-commit hook script reject names with newlines, tooLibravatar Jim Meyering1-2/+6
2011-09-27templates/hooks--*: remove sample hooks without any functionalityLibravatar Gerrit Pape2-23/+0
2010-03-20Modernize git calling conventions in hook templatesLibravatar Ben Walton7-17/+17
2010-03-20Make templates honour SHELL_PATH and PERL_PATHLibravatar Ben Walton3-5/+18
2009-11-15Merge branch 'bs/maint-pre-commit-hook-sample'Libravatar Junio C Hamano1-9/+9
2009-11-06pre-commit.sample: Diff against the empty tree when HEAD is invalidLibravatar Björn Steinbrink1-9/+9
2009-10-31Revert "Don't create the $GIT_DIR/branches directory on init"Libravatar Junio C Hamano1-0/+1
2009-10-30Don't create the $GIT_DIR/branches directory on initLibravatar Robin Rosenberg1-1/+0
2009-10-24Work around option parsing bug in the busybox tar implementationLibravatar Andreas Schwab1-1/+1
2009-09-29Correct minor typo in post-receive hook templateLibravatar Frederik Schwarzer1-1/+1
2009-09-22pre-commit.sample: add comment re tr portability; fix grammarLibravatar Jim Meyering1-4/+7
2009-05-23Merge branch 'hv/sample-update'Libravatar Junio C Hamano1-0/+10
2009-05-20Extend sample pre-commit hook to check for non ascii filenamesLibravatar Heiko Voigt1-0/+25
2009-05-16pre-commit.sample: don't print incidental SHA1Libravatar Jim Meyering1-1/+1
2009-05-09Extend sample update hook, disable modifying of existing tagsLibravatar Heiko Voigt1-0/+10
2009-04-17hook/update: example of how to prevent branch creationLibravatar Pierre Habouzit1-1/+10
2009-03-04Modify description file to say what this file isLibravatar John Tapsell2-3/+5
2008-09-09Fix permission bits on sources checked out with an overtight umaskLibravatar Junio C Hamano1-5/+7
2008-08-20Install templates with the user and group of the installing personalityLibravatar Johannes Sixt1-1/+1
2008-07-02Merge branch 'j6t/mingw'Libravatar Junio C Hamano1-4/+4
2008-06-26Update sample pre-commit hook to use "diff --check"Libravatar Junio C Hamano1-58/+6
2008-06-26When installing, be prepared that template_dir may be relative.Libravatar Johannes Sixt1-4/+4
2008-06-25Fix use of "perl -i" on WindowsLibravatar Alex Riesen1-2/+2
2008-06-24Ship sample hooks with .sample suffixLibravatar Junio C Hamano11-24/+23
2008-06-24pre-rebase hook updateLibravatar Junio C Hamano1-4/+23
2008-05-21Fix prepare-commit-msg hook and replace in-place sedLibravatar Marcel Koeppen1-4/+4
2008-02-29Merge branch 'maint'Libravatar Junio C Hamano1-3/+3
2008-02-28templates/Makefile: don't depend on local umask settingLibravatar Gerrit Pape1-3/+3