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
commitc67ec44be4d9859345d039126411bb0261e2528f (patch)
treefb8550bf549f89ab5c50bd95eba9653b58c04464
parent432bf8c3b89050c769f730dbb45108948452c448 (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"
}