1
0
mirror of https://github.com/git/git.git synced 2024-11-18 02:14:03 +01: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 War on whitespace 2007-06-07 00:04:01 -07:00
rebase-from-internal-branch.txt War on whitespace 2007-06-07 00:04:01 -07:00
rebuild-from-update-hook.txt War on whitespace 2007-06-07 00:04:01 -07:00
revert-branch-rebase.txt War on whitespace 2007-06-07 00:04:01 -07:00
separating-topic-branches.txt War on whitespace 2007-06-07 00:04:01 -07:00
setup-git-server-over-http.txt [PATCH] Rename git-repo-config to git-config. 2007-01-28 16:16:53 -08:00
update-hook-example.txt Fixed update-hook example allow-users format. 2007-09-18 17:38:52 -07:00
use-git-daemon.txt War on whitespace 2007-06-07 00:04:01 -07:00