Commit 419687a0 authored by Michal Sojka's avatar Michal Sojka

Prevent name collision of local and global varaible

parent 40f94c3c
......@@ -53,7 +53,7 @@ handle_commit() {
done
echo -n "${trees[.]}" | git mktree ))
ae=$(git rev-parse --verify --quiet refs/heads/ae) || :
local ae=$(git rev-parse --verify --quiet refs/heads/ae) || :
if [ -z "$ae" ] || ! git diff-tree --quiet $ae $new_tree; then
export GIT_AUTHOR_NAME="$(git log --format=%an -1 $commit)"
export GIT_AUTHOR_EMAIL="$(git log --format=%ae -1 $commit)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment