git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Feature idea: Ignore content

From
DSDirk Süsserott <newsletter@dirk.my1.cc>
Date
Jan 19, 2010, 19:14 UTC
Message-ID
<4B56049C.6070705@dirk.my1.cc>
In-Reply-To
<alpine.DEB.2.00.1001191504020.23165@ds9.cixit.se>
Am 19.01.2010 15:05 schrieb Peter Krefting:
Show 9 quoted lines
> 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

Previous: Peter KreftingNext: Ramkumar Ramachandra
Message 3 of 5 in “Feature idea: Ignore content”
  1. Ramkumar RamachandraJan 19, 2010
  2. Peter KreftingJan 19, 2010
  3. Dirk SüsserottJan 19, 2010
  4. Ramkumar RamachandraJan 19, 2010
  5. Jacob HelwigJan 19, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.