mirror of
https://github.com/git/git.git
synced 2024-12-05 07:53:59 +08:00
8d5afef0f9
A template mechanism to populate newly initialized repository with default set of files is introduced. Use it to ship example hooks that can be used for update and post update checks, as Josef Weidendorfer suggests. Signed-off-by: Junio C Hamano <junkio@cox.net>
9 lines
207 B
Bash
9 lines
207 B
Bash
#!/bin/sh
|
|
#
|
|
# An example hook script to prepare a packed repository for use over
|
|
# dumb transports.
|
|
#
|
|
# To enable this hook, make this file executable by "chmod +x post-update".
|
|
|
|
exec git-update-server-info
|