diff options
author | Parabola git <git@parabola.nu> | 2020-12-15 07:00:02 +0000 |
---|---|---|
committer | Parabola git <git@parabola.nu> | 2020-12-15 07:00:02 +0000 |
commit | 46e198c6ac2f4f73cfc6900a8f7c00d7273a9d75 (patch) | |
tree | f66a04c69d0703a22b9150c78ed6fa70aac0efe4 | |
parent | e3e897fe548cd9cfdfc57db2acbb34adbd159e1b (diff) |
Update from cron
-rwxr-xr-x | .config/git/hooks/post-receive.d/notify-pbot-git-hook | 4 |
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 ; |