From: Duy Nguyen Date: Tue, 30 Apr 2013 00:27:12 GMT Subject: Re: inotify to minimize stat() calls Message-ID: In-Reply-To: On Tue, Apr 30, 2013 at 1:05 AM, Robert Zeh wrote: > The call to lstat is only there for testing and should not be in there for > the final version. Is there an easy way to only enable it for tests? The usual trick is invent a new GIT_ environment variable. Then check it and do something different. Then you can set the env in tests only. -- Duy