summaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-06-14 05:07:51 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-06-14 11:59:26 +0000
commitae225ea23f20c56d4dfb74805029dee5de409e7b (patch)
tree538c3f93f475c507826463d90245bf6d459b2d99 /git
parentAdding shellcheck exception in irker-tools for variable sourced from configur... (diff)
downloadservice-tools-ae225ea23f20c56d4dfb74805029dee5de409e7b.tar.xz
service-tools-ae225ea23f20c56d4dfb74805029dee5de409e7b.zip
Using read -r to not mangle backslashes in git-tools.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'git')
-rwxr-xr-xgit/share/hooks/post-update.d/irker-notification2
1 files changed, 1 insertions, 1 deletions
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