From 284b2db1d6ffaef2d5d1a9536c75af5525f5681b Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 1 Sep 2021 07:27:21 -0700 Subject: tags: process only files in repo. * libtags.txr: use git ls-files instead of glob to obtain list of .c files. This also means that we go into subdirectories now, since git ls-files '*.c' lists items like linenoise/linenoise.c and chksums/md5.c. For now, we are not finding any new tags in these places, but in the future that could change. --- libtags.txr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libtags.txr b/libtags.txr index 3410c8c9..6639ad0e 100755 --- a/libtags.txr +++ b/libtags.txr @@ -314,7 +314,8 @@ @;; However, if we ever need to do it, we could add the tags in question @;; to another hash table and replace the _f variables in question as soon @;; as we found suitable candidates. -@(next :list (cons "lib.c" (remqual "lib.c" (glob "*.c")))) +@(next :list (cons "lib.c" (remqual "lib.c" + (command-get-lines "git ls-files '*.c'")))) @(repeat) @ file.c @ (get-file-ix-tags `@file.c`) -- cgit v1.2.3