summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParabola git <git@parabola.nu>2020-12-15 07:00:02 +0000
committerParabola git <git@parabola.nu>2020-12-15 07:00:02 +0000
commit46e198c6ac2f4f73cfc6900a8f7c00d7273a9d75 (patch)
treef66a04c69d0703a22b9150c78ed6fa70aac0efe4
parente3e897fe548cd9cfdfc57db2acbb34adbd159e1b (diff)
Update from cron
-rwxr-xr-x.config/git/hooks/post-receive.d/notify-pbot-git-hook4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/git/hooks/post-receive.d/notify-pbot-git-hook b/.config/git/hooks/post-receive.d/notify-pbot-git-hook
index b830222..f58cc56 100755
--- a/.config/git/hooks/post-receive.d/notify-pbot-git-hook
+++ b/.config/git/hooks/post-receive.d/notify-pbot-git-hook
@@ -68,7 +68,7 @@ ParseRefData() # (prev_sha curr_sha ref_file)
fi
# collect push details
- local hacker=$( ${LIB_DIR}/last-hacker-login )
+ local hacker=$( ${LIB_DIR}/last-git-login )
local author="$( git log -1 --format='%an' ${curr_sha} )"
local log_msg="$(git log -1 --format='%s' ${curr_sha} )"
local n_behind=$(git rev-list --count ${curr_sha}..${prev_sha} 2> /dev/null)
@@ -94,4 +94,4 @@ ParseRefData() # (prev_sha curr_sha ref_file)
## main entry ##
-while read ref_data ; do pbot-say "$(ParseRefData ${ref_data})" ; sleep 2 ; done ;
+while read ref_data ; do echo pbot-say "$(ParseRefData ${ref_data})" ; sleep 2 ; done ;