[geany/geany-plugins] 9f6e7c: geanyctags: add -type f to the find command

Jiří Techet git-noreply at xxxxx
Wed Sep 29 17:33:32 UTC 2021

Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Fri, 13 Aug 2021 20:33:03 UTC
Commit:      9f6e7c9055499828d35f281668d6599d39c8a4f4

Log Message:
geanyctags: add -type f to the find command

As suggested by @nomadbyte, this makes sure the output of the find command
doesn't contain any directories.

Fixes #1042

Modified Paths:

Modified: geanyctags/src/geanyctags.c
2 lines changed, 1 insertions(+), 1 deletions(-)
@@ -183,7 +183,7 @@ static gchar *generate_find_string(GeanyProject *prj)
 	gchar *ret;
-	ret = g_strdup("find -L . -not -path '*/\\.*'");
+	ret = g_strdup("find -L . -not -path '*/\\.*' -type f");
 	if (!EMPTY(prj->file_patterns))

This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).

More information about the Plugins-Commits mailing list