From 1cb45c0bd1623a6d63f4d4643a1786d8766bb471 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Tue, 3 May 2016 08:57:12 -0400 Subject: [PATCH] Begin .gitignore lines with / In /.gitignore we have lines like `kubernetes/`. Because that line is not anchored with `/` it ignores any directory called `kubernetes` anywhere in the repo. This caused a problem in #24242 because the user didn't realize that the directory in `vendor/` was being ignored. --- .gitignore | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 91c8b28efe88b..510f3ca4a89de 100644 --- a/.gitignore +++ b/.gitignore @@ -62,16 +62,16 @@ network_closure.sh .tags* # Web UI -www/master/node_modules/ -www/master/npm-debug.log -www/master/shared/config/development.json +/www/master/node_modules/ +/www/master/npm-debug.log +/www/master/shared/config/development.json # Karma output -www/test_out +/www/test_out # precommit temporary directories created by ./hack/verify-generated-docs.sh and ./hack/lib/util.sh -_tmp/ -doc_tmp/ +/_tmp/ +/doc_tmp/ # Test artifacts produced by Jenkins jobs /_artifacts/ @@ -84,13 +84,13 @@ doc_tmp/ /.gsutil/ # CoreOS stuff -cluster/libvirt-coreos/coreos_*.img +/cluster/libvirt-coreos/coreos_*.img # Juju Stuff -cluster/juju/charms/* +/cluster/juju/charms/* # Downloaded Kubernetes binary release -kubernetes/ +/kubernetes/ # direnv .envrc files .envrc