summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/names.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/names.c b/src/names.c
index 03457bac..14541a31 100644
--- a/src/names.c
+++ b/src/names.c
@@ -348,7 +348,7 @@ handle_file_selection_option (int key, const char *arg)
break;
case EXCLUDE_VCS_OPTION:
- add_exclude_array (vcs_file_table, 0);
+ add_exclude_array (vcs_file_table, FNM_LEADING_DIR);
break;
case EXCLUDE_VCS_IGNORES_OPTION: