git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Dirk Süsserott" <newsletter@dirk.my1.cc>
To: Peter Krefting <peter@softwolves.pp.se>
Cc: Ramkumar Ramachandra <artagnon@gmail.com>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: Feature idea: Ignore content
Date: Tue, 19 Jan 2010 20:14:36 +0100	[thread overview]
Message-ID: <4B56049C.6070705@dirk.my1.cc> (raw)
In-Reply-To: <alpine.DEB.2.00.1001191504020.23165@ds9.cixit.se>

Am 19.01.2010 15:05 schrieb Peter Krefting:
> Ramkumar Ramachandra:
> 
>> Instead of moving that out to a separate file and ignoring that file, 
>> is it a good idea to add a feature to Git to allow ignoring content 
>> instead of whole files?
> 
> You should be able to do that by setting up a filter. Please see 
> gitattributes(5) for more information (search for "filter").
> 

Hi Ramkumar,

please have a look at this thread:
http://marc.info/?t=125882165900001&r=1&w=2
especially Björn's suggestion to use a 'clean filter'. It worked fine
for me with a similar problem: I wanted Git to ignore a certain pattern
in my files.

HTH,
Dirk

  reply	other threads:[~2010-01-19 19:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-19 13:29 Feature idea: Ignore content Ramkumar Ramachandra
2010-01-19 14:05 ` Peter Krefting
2010-01-19 19:14   ` Dirk Süsserott [this message]
2010-01-19 19:24     ` Ramkumar Ramachandra
2010-01-19 16:57 ` Jacob Helwig

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=4B56049C.6070705@dirk.my1.cc \
    --to=newsletter@dirk.my1.cc \
    --cc=artagnon@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=peter@softwolves.pp.se \
    /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).