#!/bin/bash -e

if [[ $# -eq 1 ]]; then cd $1; fi

for f in $(git ls-files --others --exclude-standard); do
    if [[ ! -x "$f" ]]; then echo $f; fi
done
