10 lines
293 B
Text
10 lines
293 B
Text
|
#!/usr/bin/env bash
|
||
|
|
||
|
while read precommit postcommit refname
|
||
|
do
|
||
|
echo "precommit: ${precommit}; postcommit: ${postcommit}; refname: ${refname}"
|
||
|
if [[ "${precommit}" != "0000000000000000000000000000000000000000" ]]; then
|
||
|
git diff --name-status $precommit $postcommit
|
||
|
fi
|
||
|
done
|