From: Jonathan Nieder Date: Tue, 15 Nov 2011 09:52:25 GMT Subject: Re: [PATCH 3/5] sequencer: sequencer state is useless without todo Message-ID: <20111115095225.GB23139@elie.hsd1.il.comcast.net> In-Reply-To: Ramkumar Ramachandra wrote: > Yeah, git_path() writes to one of the four static buffers in > path.c:get_pathname(). Which brings me to: what should (can) we do > about it? Just use a sane idiom. Which means: as few git_path() values in flight at a time as possible. In other words, do not save the git_path() result in a variable, but pass it directly to whatever computation needs to use it.