diff options
author | Adam Spiers <git@adamspiers.org> | 2020-10-15 23:54:46 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-10-16 08:47:02 -0700 |
commit | e632c464d5dbbda72ae370ff6e9cbe31c01b0bb0 (patch) | |
tree | fcc702677b25cb5f510c6087f23afafae82f6c3d /t/helper/test-string-list.c | |
parent | Git 2.29-rc2 (diff) | |
download | tgif-e632c464d5dbbda72ae370ff6e9cbe31c01b0bb0.tar.xz |
hook: add sample template for push-to-checkout
The template is a more-or-less exact translation to shell of the C
code for the default behaviour for git's push-to-checkout hook defined
in the push_to_deploy() function in builtin/receive-pack.c, to serve
as a convenient starting point for modification.
It also contains relevant text extracted from the git-config(1) and
githooks(5) man pages.
Signed-off-by: Adam Spiers <git@adamspiers.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-string-list.c')
0 files changed, 0 insertions, 0 deletions