From 36c43d168d564fe311974efa6f6ac322afcf71d6 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 17 Feb 2025 01:51:27 +0800 Subject: git_hooks_client: Splice stdin Requires stdin to be a pipe. So `cat | ./git_hooks_client` works while `./git_hooks_client` in a terminal directly does not (character devices are not pipes). --- git_hooks_client/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'git_hooks_client/Makefile') diff --git a/git_hooks_client/Makefile b/git_hooks_client/Makefile index 0dd283e..f8f2c50 100644 --- a/git_hooks_client/Makefile +++ b/git_hooks_client/Makefile @@ -1 +1,3 @@ +CFLAGS = -Wall -Wextra -Werror -pedantic -std=c99 -D_GNU_SOURCE + git_hooks_client: -- cgit v1.2.3