projects
/
gitolite-hooks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a781c74
)
Fix paths
author
Neil Muller
<drnlmuller@gmail.com>
Sun, 22 Mar 2020 12:24:17 +0000
(14:24 +0200)
committer
Neil Muller
<drnlmuller@gmail.com>
Sun, 22 Mar 2020 12:24:17 +0000
(14:24 +0200)
irker
patch
|
blob
|
history
diff --git
a/irker
b/irker
index ab0b10a55c154e73f0f0088c40f761becb5f8a25..eb4bd1e5960673ada30646c4f6482f09709b5672 100755
(executable)
--- a/
irker
+++ b/
irker
@@
-1,6
+1,6
@@
#!/bin/bash
#!/bin/bash
-IRKERPATH=/
home/irker/VE
/bin/
+IRKERPATH=/
usr
/bin/
function help() {
echo "Required config settings:"
function help() {
echo "Required config settings:"
@@
-21,7
+21,7
@@
function notify_irker() {
# to get the rev list
# This does the wrong thing if the parent of the branch isn't master
# but it is kind of correct most of the time
# to get the rev list
# This does the wrong thing if the parent of the branch isn't master
# but it is kind of correct most of the time
- ${IRKERPATH}/irkerhook
.py
--refname=${refname} \
+ ${IRKERPATH}/irkerhook --refname=${refname} \
$(git rev-list $new --not master)
elif [ "x$new" = "x0000000000000000000000000000000000000000" ]; then
# We're deleting a branch - we need to do the right thing
$(git rev-list $new --not master)
elif [ "x$new" = "x0000000000000000000000000000000000000000" ]; then
# We're deleting a branch - we need to do the right thing
@@
-32,7
+32,7
@@
function notify_irker() {
${IRKERPATH}/irk $channel "$repo: Deleted branch $refname"
done
else
${IRKERPATH}/irk $channel "$repo: Deleted branch $refname"
done
else
- ${IRKERPATH}/irkerhook
.py
--refname=${refname} \
+ ${IRKERPATH}/irkerhook --refname=${refname} \
$(git rev-list --reverse ${old}..${new})
fi
}
$(git rev-list --reverse ${old}..${new})
fi
}