Remove the server-/client- prefixes in the tests.
[git-central.git] / server / update-prefer-underscores
1 #!/bin/sh
2 #
3 # Simply enforces rate_tables instead of rateTables. Note
4 # that ratetables could still sneak when, but we'll give
5 # people the benefit of the doubt.
6
7 . $(dirname $0)/functions
8
9 # Command line
10 refname="$1"
11 oldrev="$2"
12 newrev="$3"
13
14 if expr "$oldrev" : '0*$' >/dev/null ; then
15         if expr "$refname" : '.*[A-Z].*' ; then
16                 display_error_message "Please use underscored branch names (e.g. rate_tables)"
17                 exit 1
18         fi
19 fi
20