blob: fe24e3dc9a09ba86104fb615584c479399775d2a (
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}"
|