Update news for fixed alpha bz
[glibc.git] / scripts / list-sources.sh
blob53b6f7f0ee9a370b169af6984168d04f270de287
1 #!/bin/sh
3 # List all the files under version control in the source tree.
6 case $# in
7 0) ;;
8 1) cd "$1" ;;
9 *) echo >&2 "Usage: $0 [top_srcdir]"; exit 2 ;;
10 esac
12 if [ -r .git/HEAD ]; then
14 exec ${GIT:-git} ls-files
18 echo >&2 'Cannot list sources without some version control system in use.'
19 exit 1