blob: 4a8fc7366f890ee96ddca4b58b8be5f8bff54bd5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
refname="$1"
sha_old="$2"
sha_new="$3"
base_refname=$(printf "${refname}" | base64)
target_file="/tmp/git_update_${base_refname}_test"
date > "${target_file}"
printf "refname: %s\nsha1-old: %s\nsha1-new: %s" "${refname}" "${sha_old}" "${sha_new}" >> "${target_file}"
|