emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 65735cee71c: ; Fix last change


From: Jim Porter
Subject: master 65735cee71c: ; Fix last change
Date: Sun, 23 Apr 2023 15:08:59 -0400 (EDT)

branch: master
commit 65735cee71c0f2a23a8cec254d95e1d2f276a08a
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>

    ; Fix last change
---
 build-aux/git-hooks/pre-push | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/git-hooks/pre-push b/build-aux/git-hooks/pre-push
index 03fbede4865..8e8277cba4f 100755
--- a/build-aux/git-hooks/pre-push
+++ b/build-aux/git-hooks/pre-push
@@ -49,7 +49,7 @@ $awk -v origin_name="$1" '
   # Check any lines with a valid local SHA and whose remote ref is
   # master or an emacs-NN release branch.  (We want to avoid checking
   # feature or scratch branches here.)
-  $2 ~ /^[a-z0-9]{40}$/ && $3 ~ /^refs/heads/(master|emacs-[0-9]+)$/ {
+  $2 ~ /^[a-z0-9]{40}$/ && $3 ~ /^refs\/heads\/(master|emacs-[0-9]+)$/ {
     newref = $2
     # If the remote SHA is all zeroes, this is a new object to be
     # pushed (likely a branch)...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]