Commit dd4f8529 authored by Tor Didriksen's avatar Tor Didriksen

Bug#20009543 SUPPORT-FILES/BUILD-TAGS TRANSITION TO GIT

Use 'git ls-files' to find source files for etags.
parent 2ee7167b
#! /bin/sh
rm -f TAGS
filter='\.cc$\|\.c$\|\.h$\|sql_yacc\.yy$'
filter='\.cpp$\|\.cc$\|\.c$\|\.h$\|sql_yacc\.yy$\|\.hpp$\|\.ic$'
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;
do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment