From: Christoph Duelli <duelli@melosgmbh.de>
To: Jakub Narebski <jnareb@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: how to ignore all .xvpics directories
Date: Mon, 03 Nov 2008 13:15:36 +0100 [thread overview]
Message-ID: <490EEB68.3040009@melosgmbh.de> (raw)
In-Reply-To: <m3d4hdf2qp.fsf@localhost.localdomain>
Jakub Narebski schrieb:
>> [ Note: some time ago this issue has already popped up:
>> http://thread.gmane.org/gmane.comp.version-control.git/50504
>>
>> However, adding a line with just .xvpics in the toplevel .gitignore
>> does not help. Neither does /**/.xvpics
>
> Could you reproduce the steps you tried? Because I have checked, and
> putting .xvpics or .xvpics/ in top level .gitignore (or in
> .git/info/excludes, or ~/.gitignore) works as expected: filename
> without '/' in it is match agains _basename_.
>
> Note that .gitignore is about contents which is not tracked (not known
> to git). If you added .xvpics to commit by accident, .gitignore will
> do nothing then.
Thank you Jakub,
I checked that and indeed... someone left uncomitted changes (i.e.
deleted those (acc. commited) files without committing) and got me confused.
It *does* work for untracked files.
Sorry for the noise.
--
Christoph Duelli
next prev parent reply other threads:[~2008-11-03 12:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-03 10:11 how to ignore all .xvpics directories Christoph Duelli
2008-11-03 11:49 ` Jakub Narebski
2008-11-03 12:15 ` Christoph Duelli [this message]
2008-11-03 13:03 ` Matthieu Moy
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=490EEB68.3040009@melosgmbh.de \
--to=duelli@melosgmbh.de \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.com \
/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.