repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add fesetexcept: powerpc.
[glibc.git]
/
scripts
/
list-sources.sh
blob
d1c6803af6cb5aa2a196e25998d8c5cfc47fbf37
1
#!/bin/sh
2
#
3
# List all the files under version control in the source tree.
4
#
5
6
case
$#
in
7
0
) ;;
8
1
)
cd
"
$1
"
;;
9
*)
echo
>&
2
"Usage:
$0
[top_srcdir]"
;
exit
2
;;
10
esac
11
12
if
[
-r
.git
/
HEAD
];
then
13
${GIT:-git}
ls-files
14
exit
0
15
fi
16
17
echo
>&
2
'Cannot list sources without some version control system in use.'
18
exit
1