summaryrefslogtreecommitdiff
path: root/templates
Commit message (Expand)AuthorAgeFilesLines
* hook: add sample template for push-to-checkoutAdam Spiers2020-10-161-0/+78
* hooks--update.sample: use hash-agnostic zero OIDDenton Liu2020-09-231-1/+1
* hooks--pre-push.sample: use hash-agnostic zero OIDDenton Liu2020-09-231-3/+3
* hooks--pre-push.sample: modernize scriptDenton Liu2020-09-231-8/+8
* Merge branch 'kw/fsmonitor-watchman-racefix'Junio C Hamano2020-02-141-52/+116
|\
| * fsmonitor: add fsmonitor hook scripts for version 2Kevin Willford2020-01-231-52/+116
* | Merge branch 'lh/bool-to-type-bool'Junio C Hamano2020-01-302-6/+6
|\ \ | |/ |/|
| * templates: fix deprecated type option `--bool`Lucius Hu2020-01-212-6/+6
* | Merge branch 'kw/fsmonitor-watchman-fix'Junio C Hamano2019-12-011-9/+4
|\ \
| * | fsmonitor: fix watchman integrationKevin Willford2019-11-061-9/+4
| |/
* | git-merge: honor pre-merge-commit hookMichael J Gruber2019-08-071-0/+13
|/
* Update shell scripts to compute empty tree object IDbrian m. carlson2018-05-021-1/+1
* fsmonitor: simplify determining the git worktree under Windowsav/fsmonitorBen Peart2017-11-131-10/+3
* fsmonitor: read from getcwd(), not the PWD environment variableAlex Vandiver2017-11-101-1/+2
* fsmonitor: don't bother pretty-printing JSON from watchmanAlex Vandiver2017-10-301-1/+1
* fsmonitor: read entirety of watchman outputAlex Vandiver2017-10-041-4/+2
* fsmonitor: MINGW support for watchman integrationBen Peart2017-10-041-1/+1
* fsmonitor: add a sample integration script for WatchmanBen Peart2017-10-011-0/+122
* Merge branch 'ma/up-to-date'Junio C Hamano2017-09-101-1/+1
|\
| * treewide: correct several "up-to-date" to "up to date"ma/up-to-dateMartin Ågren2017-08-231-1/+1
* | Merge branch 'ks/prepare-commit-msg-sample-fix'Junio C Hamano2017-08-231-1/+1
|\ \
| * | hook: use correct logical variableks/prepare-commit-msg-sample-fixKaartic Sivaraam2017-08-141-1/+1
* | | Merge branch 'ks/prepare-commit-msg-sample'Junio C Hamano2017-08-111-12/+18
|\ \ \ | |/ / | | / | |/ |/|
| * hook: add a simple first exampleks/prepare-commit-msg-sampleKaartic Sivaraam2017-07-121-3/+6
| * hook: add sign-off using "interpret-trailers"Kaartic Sivaraam2017-07-121-1/+5
| * hook: name the positional variablesKaartic Sivaraam2017-07-121-3/+6
| * hook: cleanup scriptKaartic Sivaraam2017-07-121-14/+10
* | pre-rebase hook: capture documentation in a <<here documentjn/hooks-pre-rebase-sample-fixJonathan Nieder2017-07-111-3/+3
|/
* pre-receive.sample: mark it executableak/pre-receive-hook-template-modefixAnders Kaseorg2016-10-281-0/+0
* push options: {pre,post}-receive hook learns about push optionsStefan Beller2016-07-141-0/+24
* Merge branch 'ma/update-hooks-sample-typofix'Junio C Hamano2016-02-261-1/+1
|\
| * templates/hooks: fix minor typo in the sample update-hookma/update-hooks-sample-typofixMartin Amdisen2016-02-251-1/+1
* | Merge branch 'nd/multiple-work-trees'Junio C Hamano2015-05-112-4/+4
|\ \ | |/ |/|
| * *.sh: avoid hardcoding $GIT_DIR/hooks/...Nguyễn Thái Ngọc Duy2014-12-012-4/+4
* | pre-push.sample: remove unnecessary and misleading IFS=' 'jh/pre-push-sample-no-custom-ifsJim Hill2014-12-221-1/+0
|/
* pre-push.sample: Write error message to stderrwk/pre-push-sample-hookW. Trevor King2014-09-111-1/+1
* sample pre-commit hook: use --bool when retrieving config varJohan Herland2013-09-241-1/+1
* Merge branch 'maint-1.8.3' into maintJunio C Hamano2013-09-031-0/+1
|\
| * fix shell syntax error in templateThorsten Glaser2013-08-301-0/+1
* | templates: spell ASCII in uppercase in pre-commit hookrh/template-updatesRichard Hartmann2013-07-151-3/+3
* | templates: Reformat pre-commit hook's messageRichard Hartmann2013-07-151-4/+2
* | templates: Use heredoc in pre-commit hookRichard Hartmann2013-07-151-12/+13
|/
* pre-push.sample: Make the script executableWieland Hoffmann2013-06-111-0/+0
* templates/hooks--update.sample: use a lowercase "usage:" stringDavid Aguilar2013-02-241-1/+1
* Add sample pre-push hook scriptAaron Schrab2013-01-181-0/+53
* Merge branch 'maint-1.7.6' into maintJunio C Hamano2011-10-261-2/+6
|\
| * make the sample pre-commit hook script reject names with newlines, tooJim Meyering2011-10-261-2/+6
* | templates/hooks--*: remove sample hooks without any functionalityGerrit Pape2011-09-272-23/+0
|/
* Modernize git calling conventions in hook templatesBen Walton2010-03-207-17/+17
* Make templates honour SHELL_PATH and PERL_PATHBen Walton2010-03-203-5/+18