Git development
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: Christoph Duelli <duelli@melosgmbh.de>
Cc: git@vger.kernel.org
Subject: Re: how to ignore all .xvpics directories
Date: Mon, 03 Nov 2008 03:49:55 -0800 (PST)	[thread overview]
Message-ID: <m3d4hdf2qp.fsf@localhost.localdomain> (raw)
In-Reply-To: <490ECE54.5090505@melosgmbh.de>

Christoph Duelli <duelli@melosgmbh.de> writes:

> Is it possible to ignore (once and for all) that directories like
> .pics or .xvpics (that might occur all over the place where xv was
> called) should be ignored?
> 
> [ 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.

-- 
Jakub Narebski
Poland
ShadeHawk on #git

  reply	other threads:[~2008-11-03 11:51 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 [this message]
2008-11-03 12:15   ` Christoph Duelli
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=m3d4hdf2qp.fsf@localhost.localdomain \
    --to=jnareb@gmail.com \
    --cc=duelli@melosgmbh.de \
    --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