Skip to content

Commit dd4f852

Browse files
author
Tor Didriksen
committed
Bug#20009543 SUPPORT-FILES/BUILD-TAGS TRANSITION TO GIT
Use 'git ls-files' to find source files for etags.
1 parent 2ee7167 commit dd4f852

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

support-files/build-tags

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

33
rm -f TAGS
4-
filter='\.cc$\|\.c$\|\.h$\|sql_yacc\.yy$'
4+
filter='\.cpp$\|\.cc$\|\.c$\|\.h$\|sql_yacc\.yy$\|\.hpp$\|\.ic$'
55

66
list="find . -type f"
7-
bzr root >/dev/null 2>/dev/null && list="bzr ls --from-root -R --kind=file --versioned"
7+
git rev-parse >/dev/null 2>/dev/null && list="git ls-files"
88

99
$list |grep $filter |while read f;
1010
do

0 commit comments

Comments
 (0)