From: Alex Bennee <kernel-hacker@bennee.com>
To: git@vger.kernel.org
Subject: Can the git exclude files mask out whole directories?
Date: Mon, 18 Sep 2006 19:28:07 +0100 [thread overview]
Message-ID: <1158604087.28026.160.camel@okra.transitives.com> (raw)
Hi,
I may be being a bit dim but according to the man page I should be able
to specify paths with /'s in them. I want to exclude all CVS directories
so I can commit stuff. I have tried:
#
# Ignore CVS files
#
*/CVS/*
Amongst many variants and:
git-ls-files --others --exclude-from=.git/info/exclude
And all my CVS directories still get listed. I can get what I want with
adding:
# Ignore CVS files
#
Entries
Entries.Log
Repository
Root
Tag
to my exclude file but that seems suboptimal. Besides I'll also want to
be ignoring whole build directories later. Have I subtly misunderstood
the man page?
Confused,
--
Alex, homepage: http://www.bennee.com/~alex/
Majority, n.: That quality that distinguishes a crime from a law.
next reply other threads:[~2006-09-18 18:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-18 18:28 Alex Bennee [this message]
2006-09-18 18:32 ` Can the git exclude files mask out whole directories? Shawn Pearce
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1158604087.28026.160.camel@okra.transitives.com \
--to=kernel-hacker@bennee.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).