From aa909563b1ca3f74735ceaf513c0c43439b3d3b4 Mon Sep 17 00:00:00 2001 From: yahavi Date: Wed, 8 Nov 2023 18:24:31 +0200 Subject: [PATCH] Add .git to default exclusions --- .../ide/idea/ui/configuration/ConfigVerificationUtils.java | 2 +- .../ide/idea/ui/configuration/JFrogGlobalConfiguration.form | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/jfrog/ide/idea/ui/configuration/ConfigVerificationUtils.java b/src/main/java/com/jfrog/ide/idea/ui/configuration/ConfigVerificationUtils.java index af894120..962af0bb 100644 --- a/src/main/java/com/jfrog/ide/idea/ui/configuration/ConfigVerificationUtils.java +++ b/src/main/java/com/jfrog/ide/idea/ui/configuration/ConfigVerificationUtils.java @@ -21,7 +21,7 @@ public class ConfigVerificationUtils { public static final String EXCLUSIONS_SUFFIX = "*"; public static String EXCLUSIONS_REGEX_PARSER = "^\\*\\*/\\*\\{([^{}]+)}\\*$"; public static Pattern EXCLUSIONS_REGEX_PATTERN = Pattern.compile(EXCLUSIONS_REGEX_PARSER); - public static final String DEFAULT_EXCLUSIONS = EXCLUSIONS_PREFIX + "{.idea,test,node_modules}" + EXCLUSIONS_SUFFIX; + public static final String DEFAULT_EXCLUSIONS = EXCLUSIONS_PREFIX + "{.git,.idea,test,node_modules}" + EXCLUSIONS_SUFFIX; /** * Validate config project, watches and excluded paths before saving. diff --git a/src/main/java/com/jfrog/ide/idea/ui/configuration/JFrogGlobalConfiguration.form b/src/main/java/com/jfrog/ide/idea/ui/configuration/JFrogGlobalConfiguration.form index c322e2f8..4a09557a 100644 --- a/src/main/java/com/jfrog/ide/idea/ui/configuration/JFrogGlobalConfiguration.form +++ b/src/main/java/com/jfrog/ide/idea/ui/configuration/JFrogGlobalConfiguration.form @@ -483,7 +483,7 @@ - +