summaryrefslogtreecommitdiff
path: root/Documentation/howto/update-hook-example.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fixed update-hook example allow-users format.Väinö Järvelä2007-09-181-4/+4
| | | | | | | | | | | | | | | | | | The example provided with the update-hook-example does not work on either bash 2.05b.0(1)-release nor 3.1.17(1)-release. The matcher did not match the lines that it advertised to match, such as: refs/heads/bw/ linus refs/heads/tmp/* * In POSIX 1003.2 regular expressions, the star (*), is not an wildcard meaning "match everything", it matches 0 or more matches of the atom preceding it. So to match "refs/heads/bw/topic-branch", the matcher should be written as "refs/heads/bw/.*" to match "refs/heads/bw/" and everything after it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
* Documentation: shared repository management in tutorial.Junio C Hamano2005-12-051-69/+136
| | | | | | | | | | | | The branch policy script I outlined was improved and polished by Carl and posted on the list twice since then. It is a shame not to pick it up, so replace the original outline in howto/update-hook-example.txt with the latest from Carl. Also talk about setting up git-shell to allow git-push/git-fetch only SSH access to a shared repository host in the tutorial. Signed-off-by: Junio C Hamano <junkio@cox.net>
* Documentation: add hooks/update example.Junio C Hamano2005-11-191-0/+105
Signed-off-by: Junio C Hamano <junkio@cox.net>