summaryrefslogtreecommitdiffstats
path: root/git/share/hooks/post-update.d/irker-notification
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-06-14 11:48:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-06-14 12:00:04 +0000
commitd252334934fb9f2ef0c6195f807d8fa78b4410eb (patch)
treed39927e699cef304bb6f8669d1989f4f407aa6cc /git/share/hooks/post-update.d/irker-notification
parentAdding upstream version 20220609. (diff)
downloadopen-infrastructure-service-tools-upstream/20220614.tar.xz
open-infrastructure-service-tools-upstream/20220614.zip
Adding upstream version 20220614.upstream/20220614
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'git/share/hooks/post-update.d/irker-notification')
-rwxr-xr-xgit/share/hooks/post-update.d/irker-notification4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/share/hooks/post-update.d/irker-notification b/git/share/hooks/post-update.d/irker-notification
index 1ad6f54..7c712db 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})
+ irkerhook --refname="${REFNAME}" "$(git rev-list --reverse "${OLD}".."${NEW}")"
done