[gnome-builder] code-index: ignore .in style macro expansion files
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] code-index: ignore .in style macro expansion files
- Date: Tue, 5 Feb 2019 06:17:12 +0000 (UTC)
commit 4ca1200be4a730ba51dc7a4fe23cdb33913d65cd
Author: Christian Hergert <chergert redhat com>
Date: Sat Feb 2 01:48:01 2019 -0800
code-index: ignore .in style macro expansion files
src/plugins/code-index/gbp-code-index-plan.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/plugins/code-index/gbp-code-index-plan.c b/src/plugins/code-index/gbp-code-index-plan.c
index 39140da35..78d50a05f 100644
--- a/src/plugins/code-index/gbp-code-index-plan.c
+++ b/src/plugins/code-index/gbp-code-index-plan.c
@@ -521,6 +521,10 @@ gbp_code_index_plan_populate_cb (GFile *directory,
if (ide_vcs_is_ignored (state->vcs, file, NULL))
continue;
+ /* Ignore .in files since those may bet miss-reported */
+ if (g_str_has_suffix (name, ".in"))
+ continue;
+
reversed = g_utf8_strreverse (name, -1);
mime_type = g_file_info_get_attribute_string (file_info, G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]