We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c9baf5 commit 60c932aCopy full SHA for 60c932a
support-files/build-tags
@@ -1,12 +1,16 @@
1
#! /bin/sh
2
3
rm -f TAGS
4
-filter='\.cpp$\|\.cc$\|\.c$\|\.h$\|sql_yacc\.yy$\|\.hpp$\|\.ic$'
5
6
-list="find . -type f"
7
-git rev-parse >/dev/null 2>/dev/null && list="git ls-files"
8
-
9
-$list |grep $filter |while read f;
10
-do
11
- etags -o TAGS --append $f
12
-done
+if git rev-parse HEAD >/dev/null 2>&1
+then
+ cd `git rev-parse --show-toplevel`
+ echo client storage dbug libmysql sql-common \
+ sql extra mysys mysys_ssl strings regex pcre vio include \
+ tools unittest plugin libmysqld | \
+ xargs -n1 git ls-files | grep -v '\.jar$' | \
+ xargs etags -o TAGS --append
13
+else
14
+ find . -type f ! -name "*.jar" |
15
16
+fi
0 commit comments