Skip to content

Commit

Permalink
Begin .gitignore lines with /
Browse files Browse the repository at this point in the history
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 kubernetes#24242 because the user
didn't realize that the directory in `vendor/` was being ignored.
  • Loading branch information
eparis committed May 3, 2016
1 parent f29d597 commit 1cb45c0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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

0 comments on commit 1cb45c0

Please sign in to comment.