From: Paul Gardiner <lists@glidos.net>
To: Matthieu Moy <Matthieu.Moy@imag.fr>
Cc: git@vger.kernel.org, lists@glidos.net
Subject: Re: How do I stop git enumerating my working directory
Date: Wed, 02 Jul 2008 15:51:04 +0100 [thread overview]
Message-ID: <486B95D8.9030106@glidos.net> (raw)
In-Reply-To: <vpqr6ad5zms.fsf@bauges.imag.fr>
Matthieu Moy wrote:
> Paul Gardiner <lists@glidos.net> writes:
>
>> 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.
>
> To me, it seems the opposite ;-).
>
> I just tried to "git init" my $HOME, then "git status" takes forever,
> but "echo '*' > .gitignore; git status" completes immediately.
Ok, I was confusing myself because of having added files inside
subdirectories of the ignored directory. I'm glad it works the
way it does. Makes much more sense than what I'd thought it was
doing.
P.
next prev parent reply other threads:[~2008-07-02 14:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-01 15:57 How do I stop git enumerating my working directory Paul Gardiner
2008-07-01 16:37 ` Matthieu Moy
2008-07-02 14:51 ` Paul Gardiner [this message]
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=486B95D8.9030106@glidos.net \
--to=lists@glidos.net \
--cc=Matthieu.Moy@imag.fr \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.