summaryrefslogtreecommitdiff
path: root/templates
Commit message (Expand)AuthorAgeFilesLines
* 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
* Merge branch 'bs/maint-pre-commit-hook-sample'Junio C Hamano2009-11-151-9/+9
|\
| * pre-commit.sample: Diff against the empty tree when HEAD is invalidBjörn Steinbrink2009-11-061-9/+9
* | Revert "Don't create the $GIT_DIR/branches directory on init"Junio C Hamano2009-10-311-0/+1
* | Don't create the $GIT_DIR/branches directory on initRobin Rosenberg2009-10-301-1/+0
* | Work around option parsing bug in the busybox tar implementationAndreas Schwab2009-10-241-1/+1
|/
* Correct minor typo in post-receive hook templateFrederik Schwarzer2009-09-291-1/+1
* pre-commit.sample: add comment re tr portability; fix grammarJim Meyering2009-09-221-4/+7
* Merge branch 'hv/sample-update'Junio C Hamano2009-05-231-0/+10
|\
| * Extend sample update hook, disable modifying of existing tagsHeiko Voigt2009-05-091-0/+10
* | Extend sample pre-commit hook to check for non ascii filenamesHeiko Voigt2009-05-201-0/+25
* | pre-commit.sample: don't print incidental SHA1Jim Meyering2009-05-161-1/+1
|/
* hook/update: example of how to prevent branch creationPierre Habouzit2009-04-171-1/+10
* Modify description file to say what this file isJohn Tapsell2009-03-042-3/+5
* Fix permission bits on sources checked out with an overtight umaskJunio C Hamano2008-09-091-5/+7
* Install templates with the user and group of the installing personalityJohannes Sixt2008-08-201-1/+1
* Merge branch 'j6t/mingw'Junio C Hamano2008-07-021-4/+4
|\
| * When installing, be prepared that template_dir may be relative.Johannes Sixt2008-06-261-4/+4
* | Update sample pre-commit hook to use "diff --check"Junio C Hamano2008-06-261-58/+6
* | Fix use of "perl -i" on WindowsAlex Riesen2008-06-251-2/+2
* | Ship sample hooks with .sample suffixJunio C Hamano2008-06-2411-24/+23