summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Expand)AuthorFilesLines
2022-03-03Makefiles: add "shared.mak", move ".DELETE_ON_ERROR" to itLibravatar Ævar Arnfjörð Bjarmason1-0/+3
2020-10-16hook: add sample template for push-to-checkoutLibravatar Adam Spiers1-0/+78
2020-09-23hooks--update.sample: use hash-agnostic zero OIDLibravatar Denton Liu1-1/+1
2020-09-23hooks--pre-push.sample: use hash-agnostic zero OIDLibravatar Denton Liu1-3/+3
2020-09-23hooks--pre-push.sample: modernize scriptLibravatar Denton Liu1-8/+8
2020-02-14Merge branch 'kw/fsmonitor-watchman-racefix'Libravatar Junio C Hamano1-52/+116
2020-01-30Merge branch 'lh/bool-to-type-bool'Libravatar Junio C Hamano2-6/+6
2020-01-23fsmonitor: add fsmonitor hook scripts for version 2Libravatar Kevin Willford1-52/+116
2020-01-21templates: fix deprecated type option `--bool`Libravatar Lucius Hu2-6/+6
2019-12-01Merge branch 'kw/fsmonitor-watchman-fix'Libravatar Junio C Hamano1-9/+4
2019-11-06fsmonitor: fix watchman integrationLibravatar Kevin Willford1-9/+4
2019-08-07git-merge: honor pre-merge-commit hookLibravatar Michael J Gruber1-0/+13
2018-05-02Update shell scripts to compute empty tree object IDLibravatar brian m. carlson1-1/+1
2017-11-13fsmonitor: simplify determining the git worktree under WindowsLibravatar Ben Peart1-10/+3
2017-11-10fsmonitor: read from getcwd(), not the PWD environment variableLibravatar Alex Vandiver1-1/+2
2017-10-30fsmonitor: don't bother pretty-printing JSON from watchmanLibravatar Alex Vandiver1-1/+1
2017-10-04fsmonitor: read entirety of watchman outputLibravatar Alex Vandiver1-4/+2
2017-10-04fsmonitor: MINGW support for watchman integrationLibravatar Ben Peart1-1/+1
2017-10-01fsmonitor: add a sample integration script for WatchmanLibravatar Ben Peart1-0/+122
2017-09-10Merge branch 'ma/up-to-date'Libravatar Junio C Hamano1-1/+1
2017-08-23Merge branch 'ks/prepare-commit-msg-sample-fix'Libravatar Junio C Hamano1-1/+1
2017-08-23treewide: correct several "up-to-date" to "up to date"Libravatar Martin Ågren1-1/+1
2017-08-14hook: use correct logical variableLibravatar Kaartic Sivaraam1-1/+1
2017-08-11Merge branch 'ks/prepare-commit-msg-sample'Libravatar Junio C Hamano1-12/+18
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
2017-07-11pre-rebase hook: capture documentation in a <<here documentLibravatar Jonathan Nieder1-3/+3
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