diff options
author | Parabola git <git@parabola.nu> | 2021-01-16 00:00:03 +0000 |
---|---|---|
committer | Parabola git <git@parabola.nu> | 2021-01-16 00:00:03 +0000 |
commit | 86b6f3c42d6742bebd16ff1b57b855047d6be515 (patch) | |
tree | db0147b7d2592325f4a5b73faed6d876a3347e70 | |
parent | c823653b498d603f287523f3ac95670a7509588e (diff) |
Update from cron
-rwxr-xr-x | .config/git/hooks/post-receive.d/notify-pbot-git-hook | 3 |
1 files changed, 2 insertions, 1 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 aae5687..0e2ee9b 100755 --- a/.config/git/hooks/post-receive.d/notify-pbot-git-hook +++ b/.config/git/hooks/post-receive.d/notify-pbot-git-hook @@ -67,7 +67,8 @@ ParseRefData() # (prev_sha curr_sha ref_file) fi # collect push details - local hacker=$( ${LIB_DIR}/last-git-login ) +# local hacker=$( ${LIB_DIR}/last-git-login ) +hacker='' # last-git-login is unreliable local author="$( git log -1 --format='%an' ${curr_sha} 2> /dev/null)" local log_msg="$(git log -1 --format='%s' ${curr_sha} 2> /dev/null)" local n_behind=$(git rev-list --count ${curr_sha}..${prev_sha} 2> /dev/null) |