1
0
mirror of https://github.com/git/git.git synced 2024-10-03 22:11:41 +02:00
git/Documentation/howto
Väinö Järvelä 8ae674952c Fixed update-hook example allow-users format.
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>
2007-09-18 17:38:52 -07:00
..
rebase-and-edit.txt
rebase-from-internal-branch.txt
rebuild-from-update-hook.txt
revert-branch-rebase.txt
separating-topic-branches.txt
setup-git-server-over-http.txt
update-hook-example.txt Fixed update-hook example allow-users format. 2007-09-18 17:38:52 -07:00
use-git-daemon.txt