Compare commits
4 commits
05d545927a
...
8d4d6bf2cc
Author | SHA1 | Date | |
---|---|---|---|
8d4d6bf2cc | |||
ef483441e7 | |||
cbcbd4583c | |||
79bab75111 |
2 changed files with 9 additions and 0 deletions
9
build/git-post-receive-hook
Executable file
9
build/git-post-receive-hook
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/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
|
Loading…
Reference in a new issue