summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2019-07-25 16:49:36 +0000
committerMarin Jankovski <marin@gitlab.com>2019-07-25 16:49:36 +0000
commit2dfc384e48e390ce5d8fe40605f7d228a1d53589 (patch)
tree2a84e826fd4bb134fab2b696c74ef4f34a29cac2
parentc691df241597f32b7efc243859381677069c83df (diff)
downloadgitlab-ce-2dfc384e48e390ce5d8fe40605f7d228a1d53589.tar.gz
Apply suggestion to scripts/foss-sync.shmj/single-codebase-foss-sync
-rwxr-xr-xscripts/foss-sync.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/foss-sync.sh b/scripts/foss-sync.sh
index dbb9593be17..47f45dbf039 100755
--- a/scripts/foss-sync.sh
+++ b/scripts/foss-sync.sh
@@ -13,7 +13,7 @@ function git_config_user() {
# In the global git ignore file specify that all directories (and files) in the
# root named "ee" cannot get commited
function git_config_exclude() {
- echo "ee/*" >> /tmp/ignore
+ echo "/ee/*" >> /tmp/ignore
git config --global --add core.excludesFile '/tmp/ignore'
}