summaryrefslogtreecommitdiff
path: root/builtin-rev-list.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2009-10-27 01:10:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-10-28 06:03:58 (GMT)
commitc591d5f311e0c2c0708b91bf5e05bd1c36da658a (patch)
treec181b11bdd8f96d60676cf78b4167f4593048b64 /builtin-rev-list.c
parent3c1ca015281e90541a7baf092448556ec6c588a0 (diff)
downloadgit-c591d5f311e0c2c0708b91bf5e05bd1c36da658a.zip
git-c591d5f311e0c2c0708b91bf5e05bd1c36da658a.tar.gz
git-c591d5f311e0c2c0708b91bf5e05bd1c36da658a.tar.bz2
gitignore: root most patterns at the top-level directory
Our gitignore doesn't use a preceding "/" to root its patterns in the top of the repository. This means that if you add a file or directory called "git" (for example) inside a subdirectory, it will be erroneously ignored. This patch was done mechanically with "s/^[^*]/\/&/" with one exception: instead of ignoring gitk-wish, we should gitk-git/gitk-wish (arguably, this should be done in gitk-git/.gitignore, but because that is a subtree merge from elsewhere, this is easier). Acked-by: Sverre Rabbelier <srabbelier@gmail.com> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-rev-list.c')
0 files changed, 0 insertions, 0 deletions