summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParabola git <git@parabola.nu>2020-03-12 10:00:01 +0000
committerParabola git <git@parabola.nu>2020-03-12 10:00:01 +0000
commit6321efc351a9e719986a1c93c5159f39de125886 (patch)
treebcae665341f0afffd35d5ba4234e96b53f016d6a
parente54a6312fea82867900727abb332dde0bf293dec (diff)
Update from cron
-rwxr-xr-xabslibre/blacklist.git/hooks/pre-receive3
1 files changed, 2 insertions, 1 deletions
diff --git a/abslibre/blacklist.git/hooks/pre-receive b/abslibre/blacklist.git/hooks/pre-receive
index 509d3fa..e952cda 100755
--- a/abslibre/blacklist.git/hooks/pre-receive
+++ b/abslibre/blacklist.git/hooks/pre-receive
@@ -26,7 +26,7 @@ LogParseRefData() # (ref_data prev_sha curr_sha ref_file repo ref is_deletion)
{
local ref_data=$1 ; local prev_sha=$2 ; local curr_sha=$3 ; local ref_file=$4 ;
local repo=$5 ; local ref=$6 ; local is_deletion=$7 ;
- local log_file=$(LogFile ${repo} ${ref})
+ local log_file=$(LogFile ${ref})
(( $LOG_BLACKLIST_GIT_HOOK )) && echo "ref_data=${ref_data}" > ${log_file} && \
echo "prev=${prev}" >> ${log_file} && \
@@ -36,6 +36,7 @@ LogParseRefData() # (ref_data prev_sha curr_sha ref_file repo ref is_deletion)
echo "is_deletion=${is_deletion}" >> ${log_file}
cat $log_file
+echo "repo is blacklist?=$repo"
}