git-ls-untracked-sources 154 B

1234567
  1. #!/bin/bash -e
  2. if [[ $# -eq 1 ]]; then cd $1; fi
  3. for f in $(git ls-files --others --exclude-standard); do
  4. if [[ ! -x "$f" ]]; then echo $f; fi
  5. done