mirror of
https://github.com/git/git.git
synced 2024-11-16 14:04:52 +01: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>
8 lines
207 B
Bash
8 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
|