Skip to content

Commit c82b63a

Browse files
committed
Avoid version-control system directories when creating TAGS. Besides
being wasteful, this can collide with repostory metadata on case-insensitive file sytems.
1 parent 1327a0b commit c82b63a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/make_etags

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/sh
22

3-
# $PostgreSQL: pgsql/src/tools/make_etags,v 1.4 2009/01/13 19:32:29 petere Exp $
3+
# $PostgreSQL: pgsql/src/tools/make_etags,v 1.5 2009/01/14 21:28:32 petere Exp $
44

55
rm -f ./TAGS
66
find `pwd`/ -type f -name '*.[chyl]' -print | \
77
xargs etags --append -o TAGS
88

9-
find . -type d -print | \
9+
find . -type d \( -name CVS -o -name .git -prune -o -print \) | \
1010
while read DIR; do
1111
[ "$DIR" != "." ] && ln -f -s `pwd`/TAGS $DIR
1212
done

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy