#!/bin/sh## List all the files under version control in the source tree.#case$#in0);;1)cd"$1";;
*)echo>&2"Usage: $0 [top_srcdir]";exit2;;esacif[-r.git/HEAD];then${GIT:-git}ls-files
exit0fiecho>&2'Cannot list sources without some version control system in use.'exit1