7 if [ "$refname" != "refs/heads/gitconfig" ] ; then
11 tree_contents=$(git ls-tree $newrev)
12 if [[ "$tree_contents" =~ (.{40})[[:space:]]config ]] ; then
13 config_hash=${BASH_REMATCH[1]}
14 echo "hash=$config_hash"
15 git cat-file blob "$config_hash" | while read line ; do
18 git config "${key}" "${value}"