Bug#20009543 SUPPORT-FILES/BUILD-TAGS TRANSITION TO GIT
Use 'git ls-files' to find source files for etags.
This commit is contained in:
parent
2ee7167bbd
commit
dd4f852953
@ -1,10 +1,10 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
rm -f TAGS
|
rm -f TAGS
|
||||||
filter='\.cc$\|\.c$\|\.h$\|sql_yacc\.yy$'
|
filter='\.cpp$\|\.cc$\|\.c$\|\.h$\|sql_yacc\.yy$\|\.hpp$\|\.ic$'
|
||||||
|
|
||||||
list="find . -type f"
|
list="find . -type f"
|
||||||
bzr root >/dev/null 2>/dev/null && list="bzr ls --from-root -R --kind=file --versioned"
|
git rev-parse >/dev/null 2>/dev/null && list="git ls-files"
|
||||||
|
|
||||||
$list |grep $filter |while read f;
|
$list |grep $filter |while read f;
|
||||||
do
|
do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user