#!/bin/tcsh

if ("$1" == "0") then
    git ls-files -o --exclude-standard | grep -v '/'
else
    git ls-files -o --exclude-standard
endif
