#!/bin/sh

set -u

repositories="/etc /etc/bind/ /usr/share/scripts"

for repository in ${repositories}; do
    if [ -d "${repository}/.git" ]; then
        git --git-dir="${repository}/.git" --work-tree="${repository}" status --short
    fi
done