[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd2] 02/21: bootstrap: make sure that pre-commit hook really
From: |
Admin |
Subject: |
[libmicrohttpd2] 02/21: bootstrap: make sure that pre-commit hook really used |
Date: |
Fri, 13 Jun 2025 23:38:10 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd2.
commit cd707e8f4d2dfa3f8707c60fe5bb8c3d91834b20
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
AuthorDate: Wed Jun 11 17:34:29 2025 +0200
bootstrap: make sure that pre-commit hook really used
---
bootstrap | 3 +++
contrib/precommit_hook.sh | 0
2 files changed, 3 insertions(+)
diff --git a/bootstrap b/bootstrap
index 93df79c..d7ac9e8 100755
--- a/bootstrap
+++ b/bootstrap
@@ -152,6 +152,9 @@ if test -d "${GIT_DIR-.git}"; then
test $? -eq 0 || cp contrib/precommit_hook.sh
"${GIT_DIR-.git}/hooks/pre-commit" || \
echo "Failed to install pre-commit git hook" 1>&2
if test -f "${GIT_DIR-.git}/hooks/pre-commit"; then
+ if test chmod +x "${GIT_DIR-.git}/hooks/pre-commit"; then :; else
+ echo "Failed to mark the pre-commit Git hook as executable" 1>&2
+ fi
if dir_GIT_HOOKS=`"$GIT" config --get core.hooksPath 2>/dev/null`
&& test "X$dir_GIT_HOOKS" != "X${GIT_DIR-.git}/hooks"; then
echo "Installed hook will not be used due to git configuration."
echo "Consider updating git configuration by running the
following command:"
diff --git a/contrib/precommit_hook.sh b/contrib/precommit_hook.sh
old mode 100644
new mode 100755
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd2] branch master updated (cdd4c1f -> a71f9db), Admin, 2025/06/13
- [libmicrohttpd2] 09/21: mhd_str: added 8 bit -> 2 xdigits one-pass encoding, Admin, 2025/06/13
- [libmicrohttpd2] 11/21: mhd_str: optimised caseless comparisons and case transformations, Admin, 2025/06/13
- [libmicrohttpd2] 13/21: parse_http_std_method(): optimised, Admin, 2025/06/13
- [libmicrohttpd2] 21/21: perf_replies: added response sizes 8 MiB and 101 MiB, Admin, 2025/06/13
- [libmicrohttpd2] 02/21: bootstrap: make sure that pre-commit hook really used,
Admin <=
- [libmicrohttpd2] 01/21: conn_data_send.c: fixed large sending, added some asserts, Admin, 2025/06/13
- [libmicrohttpd2] 04/21: xdigittovalue(): optimised., Admin, 2025/06/13
- [libmicrohttpd2] 18/21: Renamed test_postprocessor -> test_postparser to match API naming, Admin, 2025/06/13
- [libmicrohttpd2] 16/21: configure: minor check improvement, Admin, 2025/06/13
- [libmicrohttpd2] 12/21: mhd_locks: added W32 implementation based on SRW locks (and minor improvements), Admin, 2025/06/13
- [libmicrohttpd2] 10/21: configure: added release build linker flags, Admin, 2025/06/13
- [libmicrohttpd2] 15/21: POST parser: improved parsing performance by storing complete delimiter instead of boundary, Admin, 2025/06/13
- [libmicrohttpd2] 14/21: POST parser: optimised large upload processing, Admin, 2025/06/13
- [libmicrohttpd2] 07/21: daemon_start: cosmetics, fixed code style, Admin, 2025/06/13
- [libmicrohttpd2] 06/21: Fixed compiler warnings, Admin, 2025/06/13