projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7cb261
)
Avoid version-control system directories when creating TAGS. Besides
author
Peter Eisentraut
<peter_e@gmx.net>
Wed, 14 Jan 2009 21:28:32 +0000
(21:28 +0000)
committer
Peter Eisentraut
<peter_e@gmx.net>
Wed, 14 Jan 2009 21:28:32 +0000
(21:28 +0000)
being wasteful, this can collide with repostory metadata on case-insensitive
file sytems.
src/tools/make_etags
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/make_etags
b/src/tools/make_etags
index f73334ae93b4dd7908872169a15669caaf190756..48a36cc330ccc4584d9d898297c1a4f8a3dc54d7 100755
(executable)
--- a/
src/tools/make_etags
+++ b/
src/tools/make_etags
@@
-6,7
+6,7
@@
rm -f ./TAGS
find `pwd`/ -type f -name '*.[chyl]' -print | \
xargs etags --append -o TAGS
-find . -type d
-print
| \
+find . -type d
\( -name CVS -o -name .git -prune -o -print \)
| \
while read DIR; do
[ "$DIR" != "." ] && ln -f -s `pwd`/TAGS $DIR
done