From: Ramkumar Ramachandra Date: Mon, 11 Apr 2011 09:50:03 GMT Subject: Re: gitattributes - clean filter invoked on pull? Message-ID: <20110411095001.GG28959@kytes> In-Reply-To: <20110411093114.GY5146@genesis.frugalware.org> Hi Miklos, Miklos Vajna writes: > On Mon, Apr 11, 2011 at 02:49:21PM +0530, Ramkumar Ramachandra wrote: > > > Is this a bug? I don't exactly understand why this would be necessary. > > > > From config.txt: > > - 'clean' is "The command which is used to convert the content of a > > worktree file to a blob upon checkin". > > - 'smudge' is "The command which is used to convert the content of a > > blob object to a worktree file upon checkout." > > > > According to the documentation, 'smudge' is *supposed* to be invoked > > on a clone/ pull, since it involves a checkout. I don't see how you > > can avoid running these filters on every checkin/ checkout unless you > > cache the result somewhere. > > That's not a problem - the issue I pointed out is that the 'clean' one > is invoked on pull/clone, and it takes time if it's applied to several > files. > > 'smudge' is just a 'cat', I don't care about it. :) Ah, sorry about that. There actually seems to be a bug :| -- Ram