From: Paul Gardiner <lists@glidos.net>
To: git@vger.kernel.org
Cc: lists@glidos.net
Subject: How do I stop git enumerating my working directory
Date: Tue, 01 Jul 2008 16:57:00 +0100 [thread overview]
Message-ID: <486A53CC.4020803@glidos.net> (raw)
Hi,
I'm a recent convert to git. I've been swapping over my projects
from cvs to git. The latest candidate for conversion is the
config files for my Linux server. I've been using cvs to record
all the config changes, and - mostly-automatically - to setup
new servers. Git will do a far better job, I think, but
I think I'm going to run into a problem: the root directory
of the server will be the working directory. Only relatively
few files will be under version control. How do I stop git
enumerating the whole drive whenever I do things like git-diff?
I don't think I can make .gitignore files do the job, because
it seems that you can set up to ignore a whole directory,
and then partially countermand that by placing a .gitignore
file (containing ! commands) inside the directory. That
makes me think that ignoring doesn't prevent the
enumeration.
Any help most appreciated. I really want to use git for
this.
Cheers,
Paul.
next reply other threads:[~2008-07-01 16:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-01 15:57 Paul Gardiner [this message]
2008-07-01 16:37 ` How do I stop git enumerating my working directory Matthieu Moy
2008-07-02 14:51 ` Paul Gardiner
2008-07-01 19:01 ` Brian Gernhardt
[not found] ` <c9e534200807011002q45ffca7bq8d91cd9b62335796@mail.gmail.com>
2008-07-02 14:47 ` Paul Gardiner
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=486A53CC.4020803@glidos.net \
--to=lists@glidos.net \
--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).