diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2022-06-14 05:07:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2022-06-14 11:59:26 +0000 |
commit | ae225ea23f20c56d4dfb74805029dee5de409e7b (patch) | |
tree | 538c3f93f475c507826463d90245bf6d459b2d99 /git/share/hooks | |
parent | Adding shellcheck exception in irker-tools for variable sourced from configur... (diff) | |
download | service-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/share/hooks')
-rwxr-xr-x | git/share/hooks/post-update.d/irker-notification | 2 |
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 |