aboutsummaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Expand)AuthorFilesLines
2023-12-20Merge branch 'jp/use-diff-index-in-pre-commit-sample'Junio C Hamano1-1/+1
2023-12-03hooks--pre-commit: detect non-ASCII when renamingJulian Prein1-1/+1
2023-04-14send-email: export patch counters in validate environmentRobin Jarry1-0/+77
2022-06-07fsmonitor: query watchman with right valid jsonSon Luong Ngoc1-2/+3
2022-03-03Makefile: add "$(QUIET)" boilerplate to shared.makÆvar Arnfjörð Bjarmason1-5/+0
2022-03-03Makefiles: add "shared.mak", move ".DELETE_ON_ERROR" to itÆvar Arnfjörð Bjarmason1-0/+3
2020-10-16hook: add sample template for push-to-checkoutAdam Spiers1-0/+78
2020-09-23hooks--update.sample: use hash-agnostic zero OIDDenton Liu1-1/+1
2020-09-23hooks--pre-push.sample: use hash-agnostic zero OIDDenton Liu1-3/+3
2020-09-23hooks--pre-push.sample: modernize scriptDenton Liu1-8/+8
2020-02-14Merge branch 'kw/fsmonitor-watchman-racefix'Junio C Hamano1-52/+116
2020-01-30Merge branch 'lh/bool-to-type-bool'Junio C Hamano2-6/+6
2020-01-23fsmonitor: add fsmonitor hook scripts for version 2Kevin Willford1-52/+116
2020-01-21templates: fix deprecated type option `--bool`Lucius Hu2-6/+6
2019-12-01Merge branch 'kw/fsmonitor-watchman-fix'Junio C Hamano1-9/+4
2019-11-06fsmonitor: fix watchman integrationKevin Willford1-9/+4
2019-08-07git-merge: honor pre-merge-commit hookMichael J Gruber1-0/+13
2018-05-02Update shell scripts to compute empty tree object IDbrian m. carlson1-1/+1
2017-11-13fsmonitor: simplify determining the git worktree under WindowsBen Peart1-10/+3
2017-11-10fsmonitor: read from getcwd(), not the PWD environment variableAlex Vandiver1-1/+2
2017-10-30fsmonitor: don't bother pretty-printing JSON from watchmanAlex Vandiver1-1/+1
2017-10-04fsmonitor: read entirety of watchman outputAlex Vandiver1-4/+2
2017-10-04fsmonitor: MINGW support for watchman integrationBen Peart1-1/+1
2017-10-01fsmonitor: add a sample integration script for WatchmanBen Peart1-0/+122
2017-09-10Merge branch 'ma/up-to-date'Junio C Hamano1-1/+1
2017-08-23Merge branch 'ks/prepare-commit-msg-sample-fix'Junio C Hamano1-1/+1
2017-08-23treewide: correct several "up-to-date" to "up to date"Martin Ågren1-1/+1
2017-08-14hook: use correct logical variableKaartic Sivaraam1-1/+1
2017-08-11Merge branch 'ks/prepare-commit-msg-sample'Junio C Hamano1-12/+18
2017-07-12hook: add a simple first exampleKaartic Sivaraam1-3/+6
2017-07-12hook: add sign-off using "interpret-trailers"Kaartic Sivaraam1-1/+5
2017-07-12hook: name the positional variablesKaartic Sivaraam1-3/+6
2017-07-12hook: cleanup scriptKaartic Sivaraam1-14/+10
2017-07-11pre-rebase hook: capture documentation in a <<here documentJonathan Nieder1-3/+3
2016-10-28pre-receive.sample: mark it executableAnders Kaseorg1-0/+0
2016-07-14push options: {pre,post}-receive hook learns about push optionsStefan Beller1-0/+24
2016-02-26Merge branch 'ma/update-hooks-sample-typofix'Junio C Hamano1-1/+1
2016-02-25templates/hooks: fix minor typo in the sample update-hookMartin Amdisen1-1/+1
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano2-4/+4
2014-12-22pre-push.sample: remove unnecessary and misleading IFS=' 'Jim Hill1-1/+0
2014-12-01*.sh: avoid hardcoding $GIT_DIR/hooks/...Nguyễn Thái Ngọc Duy2-4/+4
2014-09-11pre-push.sample: Write error message to stderrW. Trevor King1-1/+1
2013-09-24sample pre-commit hook: use --bool when retrieving config varJohan Herland1-1/+1
2013-09-03Merge branch 'maint-1.8.3' into maintJunio C Hamano1-0/+1
2013-08-30fix shell syntax error in templateThorsten Glaser1-0/+1
2013-07-15templates: spell ASCII in uppercase in pre-commit hookRichard Hartmann1-3/+3
2013-07-15templates: Reformat pre-commit hook's messageRichard Hartmann1-4/+2
2013-07-15templates: Use heredoc in pre-commit hookRichard Hartmann1-12/+13
2013-06-11pre-push.sample: Make the script executableWieland Hoffmann1-0/+0
2013-02-24templates/hooks--update.sample: use a lowercase "usage:" stringDavid Aguilar1-1/+1
2013-01-18Add sample pre-push hook scriptAaron Schrab1-0/+53
2011-10-26Merge branch 'maint-1.7.6' into maintJunio C Hamano1-2/+6
2011-10-26make the sample pre-commit hook script reject names with newlines, tooJim Meyering1-2/+6
2011-09-27templates/hooks--*: remove sample hooks without any functionalityGerrit Pape2-23/+0
2010-03-20Modernize git calling conventions in hook templatesBen Walton7-17/+17
2010-03-20Make templates honour SHELL_PATH and PERL_PATHBen Walton3-5/+18
2009-11-15Merge branch 'bs/maint-pre-commit-hook-sample'Junio C Hamano1-9/+9
2009-11-06pre-commit.sample: Diff against the empty tree when HEAD is invalidBjörn Steinbrink1-9/+9
2009-10-31Revert "Don't create the $GIT_DIR/branches directory on init"Junio C Hamano1-0/+1
2009-10-30Don't create the $GIT_DIR/branches directory on initRobin Rosenberg1-1/+0
2009-10-24Work around option parsing bug in the busybox tar implementationAndreas Schwab1-1/+1
2009-09-29Correct minor typo in post-receive hook templateFrederik Schwarzer1-1/+1
2009-09-22pre-commit.sample: add comment re tr portability; fix grammarJim Meyering1-4/+7
2009-05-23Merge branch 'hv/sample-update'Junio C Hamano1-0/+10
2009-05-20Extend sample pre-commit hook to check for non ascii filenamesHeiko Voigt1-0/+25
2009-05-16pre-commit.sample: don't print incidental SHA1Jim Meyering1-1/+1
2009-05-09Extend sample update hook, disable modifying of existing tagsHeiko Voigt1-0/+10
2009-04-17hook/update: example of how to prevent branch creationPierre Habouzit1-1/+10
2009-03-04Modify description file to say what this file isJohn Tapsell2-3/+5
2008-09-09Fix permission bits on sources checked out with an overtight umaskJunio C Hamano1-5/+7
2008-08-20Install templates with the user and group of the installing personalityJohannes Sixt1-1/+1
2008-07-02Merge branch 'j6t/mingw'Junio C Hamano1-4/+4
2008-06-26Update sample pre-commit hook to use "diff --check"Junio C Hamano1-58/+6
2008-06-26When installing, be prepared that template_dir may be relative.Johannes Sixt1-4/+4
2008-06-25Fix use of "perl -i" on WindowsAlex Riesen1-2/+2
2008-06-24Ship sample hooks with .sample suffixJunio C Hamano11-24/+23
2008-06-24pre-rebase hook updateJunio C Hamano1-4/+23
2008-05-21Fix prepare-commit-msg hook and replace in-place sedMarcel Koeppen1-4/+4
2008-02-29Merge branch 'maint'Junio C Hamano1-3/+3
2008-02-28templates/Makefile: don't depend on local umask settingGerrit Pape1-3/+3
2008-02-06git-commit: add a prepare-commit-msg hookPaolo Bonzini2-0/+39
2008-01-17Officially deprecate repo-config.Junio C Hamano1-3/+3
2008-01-14Make default pre-commit hook less noisyJean-Luc Herren1-1/+1
2007-12-03install-sh from automake does not like -m without delimiting spaceRobert Schiele1-1/+1
2007-11-22Merge branch 'maint'Junio C Hamano1-1/+1
2007-11-22Fix sample pre-commit hookJunio C Hamano1-1/+1
2007-11-08hooks--update: decline deleting tags or branches by default, add config optionsGerrit Pape1-2/+31
2007-11-08hooks--update: fix test for properly set up project description fileGerrit Pape1-2/+2
2007-10-26hooks-pre-commit: use \t, rather than a literal TAB in regexpJim Meyering1-1/+1
2007-09-13hooks--update: Explicitly check for all zeros for a deleted ref.Alexandre Julliard1-1/+1
2007-07-14Use $(RM) in Makefiles instead of 'rm -f'Emil Medve1-1/+2
2007-06-12Remove trailing slash from $(template_dir).Johannes Sixt1-1/+1
2007-06-07War on whitespaceJunio C Hamano4-4/+0
2007-04-16Have sample update hook not refuse deleting a branch through push.Gerrit Pape1-1/+6
2007-04-16variable $projectdesc needs to be set before checking against unchanged default.Gerrit Pape1-0/+1
2007-03-31Reimplement emailing part of hooks--update in contrib/hooks/post-receive-emailAndy Parkins1-0/+17
2007-03-24update-hook: remove e-mail sending hook.Andy Parkins1-222/+3
2007-03-22update-hook: abort early if the project description is unsetAndy Parkins1-0/+6
2007-03-14update-hook: fix incorrect use of git-describe and sed for finding previous tagAndy Parkins1-1/+1
2007-03-06Make 'make' quiet by defaultShawn O. Pearce1-1/+1
2007-03-06Make 'make' quieter while building gitShawn O. Pearce1-3/+7
2007-03-02Merge branch 'maint'Junio C Hamano1-1/+1
2007-03-02Fix quoting in update hook templateGerrit Pape1-1/+1
2007-03-02Sample update hook: typofix and modernization to use "git log"Andy Parkins1-5/+4
2007-02-14The "table-of-contents" in the update hook script should match the bodyAndy Parkins1-2/+2
2007-02-13Only show log entries for new revisions in hooks--updateAndy Parkins1-1/+2
2007-02-13Fix potential command line overflow in hooks--updateAndy Parkins1-1/+1
2007-02-03Assorted typo fixesPavel Roskin2-2/+2
2007-01-28Heavily expanded update hook to send more useful emails than the old hookAndy Parkins1-72/+268
2007-01-28UNIX reference time of 1970-01-01 00:00 is UTC timezone, not local time zoneAndy Parkins1-1/+1
2006-12-28update hook: redirect _both_ diagnostic lines to stderr upon tag failureJim Meyering1-1/+1
2006-12-26hooks/commit-msg: add example to add Signed-off-by line to messageAndy Parkins1-0/+4
2006-12-19Do not create $GIT_DIR/remotes/ directory anymore.Junio C Hamano1-1/+0
2006-08-13sample commit-msg hook: no silent exit on duplicate Signed-off-by linesLuben Tuikov1-1/+5
2006-08-13Fix regex pattern in commit-msgLuben Tuikov1-1/+1
2006-08-02Fix installation of templates on ancient systems.Ramsay Allan Jones1-7/+5
2006-07-08templates/hooks--update: replace diffstat calls with git diff --statEric Wong1-2/+2
2006-04-19pre-commit hook: complain about conflict markers.Junio C Hamano1-0/+3
2006-02-26Merge branch 'maint'Junio C Hamano2-0/+2
2006-02-26sample hooks template.Junio C Hamano2-0/+2
2006-02-13rebase: allow a hook to refuse rebasing.Junio C Hamano1-0/+150
2006-01-29Merge fixes up to GIT 1.1.6Junio C Hamano1-3/+10
2006-01-29[PATCH] pre-commit sample hook: do not barf on the initial importJunio C Hamano1-3/+10
2006-01-24sample update-hook: sanely handle a new branch head.Junio C Hamano1-1/+1
2006-01-24update-hook: Major overhaul (handling tags, mainly).Andreas Ericsson1-6/+65
2005-11-21Fix hooks/update template.Junio C Hamano1-4/+3
2005-11-08Clean build annoyance.Junio C Hamano1-1/+0
2005-10-14Add new programs and stamp file to .gitignore.Tom Prince1-0/+1
2005-10-10Deal with $(bindir) and friends with whitespaces.Junio C Hamano1-2/+8
2005-10-09Make sure 'make install' does not have to rebuild templates.Junio C Hamano1-3/+6
2005-09-24Solaris: give a bit more built-in defaults.Junio C Hamano1-4/+6
2005-09-07Big tool rename.Junio C Hamano2-3/+3
2005-09-02scripts: equality test '==' is not portable.Junio C Hamano1-2/+6
2005-08-26[PATCH] git bugfixes and cleanups, mainly Debian thingsTommi Virtanen1-0/+1
2005-08-24[PATCH] Use .git/remote/origin, not .git/branches/origin.Junio C Hamano1-0/+1
2005-08-20[PATCH] Fix git-commit-script to output on stderr when -v failsMarco Costalba1-6/+6
2005-08-20Make sample pre-commit hook output Emacs friendly.Junio C Hamano1-1/+2
2005-08-19Add hooks to tools/git-applypatch.Junio C Hamano2-0/+28
2005-08-19Add commit hook and make the verification customizable.Junio C Hamano3-0/+82
2005-08-15[PATCH] Fixed/Extended example for update hookJosef Weidendorfer1-3/+9
2005-08-12[PATCH] Use $DESTDIR instead of $destPetr Baudis1-3/+3
2005-08-06Redo the templates generation and installation.Junio C Hamano4-12/+39
2005-08-03Install sample hooksJunio C Hamano3-0/+48