We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ce462c commit 65735ceCopy full SHA for 65735ce
build-aux/git-hooks/pre-push
@@ -49,7 +49,7 @@ $awk -v origin_name="$1" '
49
# Check any lines with a valid local SHA and whose remote ref is
50
# master or an emacs-NN release branch. (We want to avoid checking
51
# feature or scratch branches here.)
52
- $2 ~ /^[a-z0-9]{40}$/ && $3 ~ /^refs/heads/(master|emacs-[0-9]+)$/ {
+ $2 ~ /^[a-z0-9]{40}$/ && $3 ~ /^refs\/heads\/(master|emacs-[0-9]+)$/ {
53
newref = $2
54
# If the remote SHA is all zeroes, this is a new object to be
55
# pushed (likely a branch)...
0 commit comments