diff options
author | Väinö Järvelä <v@pp.inet.fi> | 2007-09-18 15:26:09 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-18 17:38:52 -0700 |
commit | 8ae674952c8f301034e8ae9dceff38dda740623b (patch) | |
tree | 929b8bc5f4aa9569ff659fe82553872349356f85 /Documentation/git-archive.txt | |
parent | Documentation/git-svn: updated design philosophy notes (diff) | |
download | tgif-8ae674952c8f301034e8ae9dceff38dda740623b.tar.xz |
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>
Diffstat (limited to 'Documentation/git-archive.txt')
0 files changed, 0 insertions, 0 deletions