From ae225ea23f20c56d4dfb74805029dee5de409e7b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 14 Jun 2022 07:07:51 +0200 Subject: Using read -r to not mangle backslashes in git-tools. Signed-off-by: Daniel Baumann --- git/share/hooks/post-update.d/irker-notification | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/share/hooks/post-update.d/irker-notification b/git/share/hooks/post-update.d/irker-notification index 1ad6f54..aae89e6 100755 --- a/git/share/hooks/post-update.d/irker-notification +++ b/git/share/hooks/post-update.d/irker-notification @@ -28,7 +28,7 @@ fi echo "sending IRC notification" -while read OLD NEW REFNAME +while read -r OLD NEW REFNAME do irkerhook --refname=${REFNAME} $(git rev-list --reverse ${OLD}..${NEW}) done -- cgit v1.2.3