From 78464fdfb0120ef245dc71ad62d86de7c0e53d39 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 3 Mar 2025 17:11:44 +0100 Subject: [PATCH] hooks:pre-push: Allow WIP commits on WIP branches --- meta/git/hooks/pre-push | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meta/git/hooks/pre-push b/meta/git/hooks/pre-push index 9a345b7..7972c41 100755 --- a/meta/git/hooks/pre-push +++ b/meta/git/hooks/pre-push @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # A hook script to verify what is about to be pushed. Called by "git push" # after it has checked the remote status, but before anything has been pushed. @@ -26,6 +26,11 @@ url="$2" zero=$(git hash-object --stdin &2 "$local_ref: Commits in progress:\n" printf >&2 "%s\n" "$commits" printf >&2 "Aborting push\n"